Help with Octokit js, fetching issues

Need help in fetching first 1000 issues of an repo provided by the input with Octokit js
1 Reply
theoriginalandrew
The documentation around using Octokit is pretty good to check out, you'll need to create a personal access token on Github in order to use the API, which you can generate by clicking your profile -> developer settings -> generate token -> fill the form and give it all the permissions you need, and set the expiration. After submitting it, make sure to copy the actual token because as soon as you refresh the page, the token will go away and you'll have to refresh it completely. I personally prefer using the octokit/rest package because its a little bit more verbose and easier to read: https://octokit.github.io/rest.js/v19
Want results from more Discord servers?
Add your server