gedex/go-instagram — pull request #1 by dagoof (2013-10-24 13:11:04+00:00)
Title: reporting rate limits; GetRatelimit as a method rather than a field on Response

Parses headers in the current response object to provide users with the Limit and Remaining rate amounts for their queries.

Removed TODO comment about checking rate limit because the rate limit 420 error gets handled in CheckResponse like all other error responses. This way the client can monitor it's rate limit and adjust itself rather than trying to do any blocking on the library level.