MeltanoLabs / MeltanoLabs/tap-github
Hard to tell if API token is valid or not
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 20
- Forks
- 60
- Avg merge
- 20h 29m
- Merged PRs (30d)
- 6
Description
https://stackoverflow.com/questions/22438805/github-api-oauth-token-validation offers an option to check on the `x-ratelimit-limit` header to see if your API token is valid or not. Could be an interesting way to tell folks if their token is valid as right now it's not clear if the token doesn't have access to a specific endpoint or if the api token itself is just invalid.
From this slack thread https://meltano.slack.com/archives/C01TCRBBJD7/p1689349341108699
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests; start by locating the tap's GitHub API request and authentication handling. Review the linked Stack Overflow answer and Slack thread, then define behavior that distinguishes an invalid token from insufficient endpoint access using the x-ratelimit-limit signal described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, python
- Domain
- api, authentication, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100