fga-eps-mds / 2019.1-hubcare-api

The Hubcare is an open-source project to manage if a repository is good or not to a newcomer, either a passing visitor, someone who looks for contributions or someone who just is interested in the software.
https://fga-eps-mds.github.io/2019.1-hubcare-docs/
MIT License
4 stars 1 forks source link

Authenticate every request made on GitHub API #61

Closed filipetoyoshima closed 5 years ago

filipetoyoshima commented 5 years ago

Describe the bug Actually, our API uses just the free access of GitHub API, which is not even enough to testing.

We need to use some token to make the requests. For now, it may be done through a local env or local file that contains the dev's token. It's just a "temporary workaround", trust me :)

Please, write in the Pull Request description the procedure to authenticate properly

Hiroshi18 commented 5 years ago

Set environment variables to be consumed by the API:

export NAME='username'
export TOKEN='token'
Hiroshi18 commented 5 years ago

I also changed the logic for the pr quality from the web scrapper to api