Skip to main content

An easy-to-use Mapquest Geocoding API wrapper.

Project description

Interacting with the Mapquest Geocoding API should be easy.

>>> import mapq
>>> mapq.key('my_api_key')
>>> mapq.address('155 9th St San Francisco, CA')
[{'lots': {'of': 'results'}}, ...]
>>> mapq.batch('94103', '1 Infinity Loop Cupertino', 'Yerba Buena Park')
[{'multiple': 'locations'}, ...]
>>> mapq.geocode('155 9th St San Francisco, CA')
{'single': {'geocode': 'result'}}
>>> mapq.reverse(37.775002, -122.418297)
{'looks': {'like': '155 9th St'}}
>>> mapq.latlng('155 9th St San Francisco, CA')
{'lat': 37.775002, 'lng': -122.418297}

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

mapq-0.3.tar.gz (2.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page