k33g / gh3

Client-side Javascript API wrapper for GitHub API V3
370 stars 79 forks source link

Rate Limit Exceeded #4

Closed billybonks closed 10 years ago

billybonks commented 12 years ago

The library does not throw an error if you exceed git hubs rate limit

k33g commented 12 years ago

hi, could you give me an example please (not sure what you mean ... my english ...)

billybonks commented 12 years ago

la limite de vitesse est le montant de la demande, vous pouvez le faire à l'heure. si vous exeed le github limite de vitesse lève une exception

{ "message": "Rate Limit Exceeded API pour {adresse IP}" }

https://api.github.com/rate_limit (appeler pour vérifier votre limite de débit)

k33g commented 10 years ago

now you can catch error https://github.com/k33g/gh3/blob/v1.0.2/samples/03-repository.html#L39