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 hashes)
Built Distribution
Close
Hashes for ziggostatus-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92b5a44be439c2db71d8ef8e1464623cfd667a40eeef8d6f4ae351d53d8507b8 |
|
MD5 | 3b8bde966db2caaaf706c2acad5ce4fe |
|
BLAKE2b-256 | 9fe504a22ca04441e9b35a7456b60abc2eb7aafc0131f795b6ed6361c0e2b06c |