Socket
Socket
Sign inDemoInstall

aiogmaps

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aiogmaps

Asyncio client library for Google Maps API Web Services


Maintainers
1

aiogmaps

Build Status

Asyncio client library for Google Maps API Web Services

Requirements

  • googlemaps >= 3.0

Getting Started

pip install aiogmaps

Usage

API Key

import asyncio

from aiogmaps import Client

async def main(loop):
    api_key = 'xxx'
    async with Client(api_key, loop=loop) as client:
        resp = await client.place(place_id='ChIJN1t_tDeuEmsRUsoyG83frY4')
        print(resp)


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

Client ID & Secret

import asyncio

from aiogmaps import Client

async def main(loop):
    client_id = 'xxx'
    client_secret = 'xxx'
    async with Client(client_id=client_id, client_secret=client_secret, loop=loop) as client:
        resp = await client.place(place_id='ChIJN1t_tDeuEmsRUsoyG83frY4')
        print(resp)


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

Documentation

This library works as a wrapper around official googlemaps library.

For detailed API reference

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc