没有项目描述
pylaunches的Python项目详细描述
Pylaunches![Build Status](https://warehouse-camo.cmh1.psfhosted.org/b85bd93c464022ace2a97292694fd9e9ca917791/68747470733a2f2f7472617669732d63692e636f6d2f6c7564656575732f70796c61756e636865732e7376673f6272616e63683d6d6173746572)
![PyPI version](https://warehouse-camo.cmh1.psfhosted.org/eb2630d09b8dc8beb88f3ef2926d5b0570c65870/68747470733a2f2f62616467652e667572792e696f2f70792f70796c61756e636865732e737667)
a python包,用于从即将进行的空间发射中获取信息。
安装
pip install pylaunches
示例用法
"""Example usage of pylaunches."""importasyncioimportaiohttpfrompylaunches.apiimportLaunchesasyncdeftest_pylaunches():"""Example usage of pylaunches."""custom_session=aiohttp.ClientSession()data=Launches(LOOP,custom_session)awaitdata.get_launches()print("Launches:",data.launches)LOOP=asyncio.get_event_loop()LOOP.run_until_complete(test_pylaunches())
这个包使用launchlibrary.net API获取信息。