def coordinates(location):
    """Return a (lat, lng) tuple from an OpenCage location result
    
    location: a dict (from opencage.geocoder.OpenCageGeocode.geocode)
    """
    geometry = location['geometry']
    return geometry['lat'], geometry['lng']