文件名称:aiogmaps:asyncio谷歌地图api客户端
文件大小:18KB
文件格式:ZIP
更新时间:2024-05-28 09:22:13
python google-maps aiohttp asyncio google-maps-api
aiogmaps 适用于Google Maps API Web服务的Asyncio客户端库 要求 > = 3.0 入门 pip install aiogmaps 用法 API密钥 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_even
【文件预览】:
aiogmaps-master
----MANIFEST.in(20B)
----.gitattributes(12B)
----LICENSE.txt(1KB)
----aiogmaps()
--------places.py(4KB)
--------directions.py(2KB)
--------geocoding.py(1KB)
--------timezone.py(264B)
--------elevation.py(589B)
--------__init__.py(80B)
--------distance_matrix.py(776B)
--------roads.py(2KB)
--------client.py(6KB)
--------geolocation.py(2KB)
----requirements-dev.txt(141B)
----.travis.yml(268B)
----example()
--------basic.py(340B)
----setup.py(1KB)
----README.md(1KB)
----.editorconfig(243B)
----tests()
--------test_client.py(892B)
--------test_elevation.py(864B)
--------test_timezone.py(737B)
--------test_roads.py(2KB)
--------test_directions.py(480B)
--------test_distance_matrix.py(421B)
--------test_geocoding.py(846B)
--------conftest.py(746B)
--------test_geolocation.py(398B)
--------test_places.py(3KB)
----.gitignore(1KB)
----CHANGELOG.md(0B)
----.pyup.yml(0B)