aiogmaps
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
Metadata
Release files for aiogmaps 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiogmaps-0.0.2.tar.gz | 7.7 kB | Without provenance | Details for aiogmaps-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiogmaps-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for aiogmaps-0.0.2-py3-none-any.whl |
Total release size: 17.5 kB
Release files / aiogmaps-0.0.2.tar.gz
| Download URL | aiogmaps-0.0.2.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0b1db54e97d43f211ba8b8d05edc5a121187669e58bbf9aab7bf4eb877bf3a6
|
|
BLAKE2b-256 checksum How to use checksums |
5b9ef62962a26fb6e3c86133cb8b3a9ec2c69a340ebc15f802a688d5333de3ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Release files / aiogmaps-0.0.2-py3-none-any.whl
| Download URL | aiogmaps-0.0.2-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9aadd739ab865447af7d28a80cd9f6b2e0d25e4266dd574fd07901b721d514de
|
|
BLAKE2b-256 checksum How to use checksums |
c1165d0dd3a2d3ce23291a6e562aee3afffd62b64a3c286623cb3d80d6de3cea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Security for aiogmaps 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.