#NEWLINE# @ staticmethod #NEWLINE# def _parse_json_revgeocode( page ) : #NEWLINE# #INDENT# 'Returns location, (latitude, longitude) from json feed.' #NEWLINE# result = page #NEWLINE# if ( result . get ( 'description' , None ) is None ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# location = result . get ( 'description' ) #NEWLINE# latitude = result . get ( 'lat' ) #NEWLINE# longitude = result . get ( 'lon' ) #NEWLINE# return Location ( location , ( latitude , longitude ) , result )