Skip to main content

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.

Test ziggostatus package

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


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)

Uploaded Source

Built Distribution

ziggostatus-0.1.1-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

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