pjotrp / biogems.info

Tools for keeping track of biogems. Moved to https://git.thebird.nl/free/biogems.info
http://biogems.info/
13 stars 13 forks source link

Use github authenticated services #37

Closed pjotrp closed 11 years ago

pjotrp commented 11 years ago

The rate limiting is dilibitating

curl https://api.github.com/rate_limit

{ "rate": { "limit": 60, "remaining": 13 } }

a request renders

{ "message": "API Rate Limit Exceeded for 84.81.198.20" }

mamarjan commented 11 years ago

Hey Pjotr,

In case you haven't been working on this one yourself, please assign me to it instead.

I think the solution should be a environment variable, say GITHUB_API_TOKEN, where the user can then store his application token string. The token would be sent in the header of the request: http://developer.github.com/v3/#oauth2-token-sent-in-a-header

pjotrp commented 11 years ago

That would be very helpful!