Skip to main content

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.

Test ziggof1broadcasts package

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ziggof1broadcasts-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

ziggof1broadcasts-0.1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file ziggof1broadcasts-0.1.0.tar.gz.

File metadata

  • Download URL: ziggof1broadcasts-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for ziggof1broadcasts-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1776abc77db33391b5291b9526edca6a54c737f6b93cd315e917fe78e2045aef
MD5 f3c268608824d96daf352cffad847982
BLAKE2b-256 8a1352d8c73691945d4167574840395b18c7b93d7c17b6413577ff5fc4873c25

See more details on using hashes here.

File details

Details for the file ziggof1broadcasts-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ziggof1broadcasts-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for ziggof1broadcasts-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eeb530dd5b77858f7d2ddeb565b0b0fa109284439687f25a6e127fa2b8f4f4b8
MD5 b53cd1f0dfb9fa0a68a451c51b7bca2f
BLAKE2b-256 3e4ac28a5667264a1fd71885017a9539b1d100ae8efe532362e3bcff9402be23

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page