I tried to find a function which returns the number of API requests I have remaining due to rate limiting. Is this somewhere in the library and I can't find it? If not, I think it would be a great feature to have, to be able to keep track of how many requests certain actions use up.
Thank you for your feedback.
I have indeed not yet implemented this feature because I have no real use of it: each API call is more than half a second long, so it's hard to reach the rate limit.
Anyway, it is easy to extract the rate limiting headers, so I will add an attribute to the Github class to give access to their last value.
Expect it in version 1.0. I will set an expected date on the milestone during the week-end.
Ah good point about it being hard to reach. Thanks for implementing it. No hurry, though, it's not that important. :-)
Implemented in ca97469. Will be in version 1.0.