Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.24 KB

README.rst

File metadata and controls

53 lines (34 loc) · 1.24 KB

Address Lookup

Documentation Status Documentation Status

This package allows you to lookup partial addresses using various online services, returning the address in a standardized form.

Supported services

  • HERE API (API key required)

Soon-to-be-supported services

  • Google Maps API

Obtaining an API key

HERE API key

Create a HERE developer account here. Create a new project, and obtain a REST token. You can use this token with the Address Lookup library.

Usage

HERE API usage

from address_lookup.clients import AddressLookupHereClient

API_KEY = "YOUR_API_KEY"

here_client = AddressLookupHereClient(API_KEY)

result = here_client.lookup_address("White House, USA")
print(result.asdict())