Skip to main content

Asyncio client library for Google Maps API Web Services

Project description

aiogmaps

Build Status

Asyncio client library for Google Maps API Web Services

Getting Started

$ pip install aiogmaps

Usage

import asyncio

from aiogmaps import Client

API_KEY = "<your api key>"


async def main(loop):
    gmaps = Client(API_KEY, verify_ssl=False, loop=loop)
    response = await gmaps.place('ChIJN1t_tDeuEmsRUsoyG83frY4')
    assert response is not None
    print(response)
    await gmaps.close()


if __name__ == '__main__':
    loop = asyncio.get_event_loop()
    loop.run_until_complete(main(loop))

License

MIT

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

aiogmaps-0.0.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

aiogmaps-0.0.1-py3-none-any.whl (8.9 kB view hashes)

Uploaded Python 3

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