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 and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page