#NEWLINE# @ property #NEWLINE# def ratelimit_remaining( self ) : #NEWLINE# #INDENT# 'Number of requests before GitHub imposes a ratelimit.\n\n        :returns: int\n        ' #NEWLINE# json = self . _json ( self . _get ( ( self . _github_url + '/rate_limit' ) ) , 200 ) #NEWLINE# core = json . get ( 'resources' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) . get ( 'core' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# self . _remaining = core . get ( 'remaining' , 0 ) #NEWLINE# return self . _remaining