No project description provided
Project description
pylaunches
A python packages to get information form upcoming space launches.
Install
pip install pylaunches
Example usage
"""Example usage of pylaunches."""
import asyncio
from pylaunches.api import Launches
async def test_pylaunches():
"""Example usage of pylaunches."""
custom_session = aiohttp.ClientSession()
data = Launches(LOOP, custom_session)
await data.get_launches()
print("Launches:", data.launches)
LOOP = asyncio.get_event_loop()
LOOP.run_until_complete(test_pylaunches())
This package is using the launchlibrary.net API to get the information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pylaunches-0.1.0.tar.gz
(2.6 kB
view hashes)