#NEWLINE# def top_n_orgs_lobbying( self , cycle = DEFAULT_CYCLE , limit = DEFAULT_LIMIT , is_industry = False ) : #NEWLINE# #INDENT# ' Return top industries by lobbying spending. ' #NEWLINE# if is_industry : #NEWLINE# #INDENT# return self . _get_url_json ( 'aggregates/industries/lobbying/top_{0}.json' . format ( limit ) , self ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return self . _get_url_json ( 'aggregates/orgs/lobbying/top_{0}.json' . format ( limit ) , cycle )