def geocode(api_key, address, timeout=2):
    try:
        xml = _get_geocode_xml(api_key, address, timeout)
        return _get_coords(xml)
    except IOError:
        return None, None
returns (longtitude, latitude,) tuple for given address
dataset/ETHPy150Open kmike/yandex-maps/yandex_maps/api.py/geocode