def reverse_geocode(latitude, longitude):
    values = {
        'format' : 'json',
        'sensor' : 'false',
        'latlng' : '%s,%s' % (latitude, longitude,)
    }
    url = GOOGLE_GEOCODING_API_REVERSE_URL % values
    response = requests.get(url)
    data = json.loads(response.text)
    try:
        location = data['results'][0]
        address = location['formatted_address']
    except __HOLE__, k:
        address = None
    return address
dataset/ETHPy150Open hacktoolkit/hacktoolkit/apis/google/geocode/geocode.py/reverse_geocode