Asynchronous Python client for getting Ziggo F1 broadcasts.
Project description
Python API fetching Ziggo F1 broadcasts
Use this package to get Formula 1 broadcasts from Ziggo.
Usage
import aiohttp
import asyncio
from datetime import date
from ziggof1broadcasts import get_ziggo_f1_broadcasts
async def main():
session = aiohttp.ClientSession()
# By default, it will return the broadcasts of today, but you can provide a date
startTime = date.fromisoformat('2020-08-16')
broadcasts = await get_ziggo_f1_broadcasts(session, startTime=startTime)
print(f"{broadcasts}")
await session.close()
if __name__ == "__main__":
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
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
Built Distribution
Close
Hashes for ziggof1broadcasts-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eeb530dd5b77858f7d2ddeb565b0b0fa109284439687f25a6e127fa2b8f4f4b8 |
|
MD5 | b53cd1f0dfb9fa0a68a451c51b7bca2f |
|
BLAKE2b-256 | 3e4ac28a5667264a1fd71885017a9539b1d100ae8efe532362e3bcff9402be23 |