'Number of requests before GitHub imposes a ratelimit.
:returns: int'

@property
def ratelimit_remaining(self):

    json = self._json(self._get((self._github_url + u'/rate_limit')), 200)
    core = json.get(u'resources', {}).get(u'core', {})
    self._remaining = core.get(u'remaining', 0)
    return self._remaining
