contrib.sources.address

Module Contents

Classes

AddressGeoAdminSource(self,**kwargs) An address source that uses the federal GeoAdmin API to return the geo location of a postal address.
class AddressGeoAdminSource(**kwargs)

An address source that uses the federal GeoAdmin API to return the geo location of a postal address.

__init__(**kwargs)

Creates a new AddressGeoAdminSource.

Keyword Args:

geoadmin_search_api (uri): Url of the GeoAdmin API’s search service. (required) origins (str or list of str): Filter results by origin. Defaults to address. (optional) proxies (dict): Proxy definition according to

read(street_name, zip_code, street_number)

Queries an address using the federal GeoAdmin API location search.

Args:
street_name (unicode): The name of the street for the desired address. zip_code (int): The postal zipcode for the desired address. street_number (unicode): The house or so called street number of the desired address.