Lookup an address using an online provider
Project description
Address Lookup
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
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
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())
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
address-lookup-0.0.2.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for address_lookup-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 363afaacfc7634ee8493cce5c61483f21271895d917709d2bf85b3a0a2820069 |
|
MD5 | 6f0e92d592d43abdbfc095dd3213bd05 |
|
BLAKE2b-256 | 65d4177ccb8440f51e5cbea98245fc7068b1ccf9c764e8d5b04d80c185b3c56d |