Asynchronous Python client for getting Ziggo outages & announcements.
Project description
Python API fetching Ziggo outages & announcements
Use this package to check with the VodafoneZiggo API for outages & announcements on a VodafoneZiggo address.
Usage
import asyncio
import aiohttp
from ziggostatus import get_ziggo_status
postalcode = "1012JS" # Amsterdam - Dam Square
housenumber = "1"
async def main():
session = aiohttp.ClientSession()
status = await get_ziggo_status(postalcode, housenumber, session)
print(f"{status}")
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
ziggostatus-0.1.1.tar.gz
(2.5 kB
view details)
Built Distribution
File details
Details for the file ziggostatus-0.1.1.tar.gz
.
File metadata
- Download URL: ziggostatus-0.1.1.tar.gz
- Upload date:
- Size: 2.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f6ea0fe50529c69bc54c4612eb6aa5c2ead074fbbf1f66b35ab17430ee02698 |
|
MD5 | 1a080cd4dc2ce5d517508b860a5c728a |
|
BLAKE2b-256 | fced9aa189fc54d80859dc12b3aa65774cc3a9bcb654426fb8d5497ebdb33c28 |
File details
Details for the file ziggostatus-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: ziggostatus-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92b5a44be439c2db71d8ef8e1464623cfd667a40eeef8d6f4ae351d53d8507b8 |
|
MD5 | 3b8bde966db2caaaf706c2acad5ce4fe |
|
BLAKE2b-256 | 9fe504a22ca04441e9b35a7456b60abc2eb7aafc0131f795b6ed6361c0e2b06c |