noc.core.geocoding.base

Module Contents

noc.core.geocoding.base.GeoCoderResult
exception noc.core.geocoding.base.GeoCoderError

Bases: exceptions.Exception

exception noc.core.geocoding.base.GeoCoderLimitExceeded

Bases: noc.core.geocoding.base.GeoCoderError

class noc.core.geocoding.base.BaseGeocoder(*args, **kwargs)

Bases: object

name
forward(self, query)

Forward lookup :param query: Address as string :return: GeoCoderResult or None

get(self, url)

Perform get request :param url: :return:

static get_path(data, path)

Returns nested object referred by dot-separated path, or None :param data: :param path: :return: