Skip to main content

Python client for Zayo API

This package provides a python 3.8 asyncio based client to access the Zayo API system.

The following API functional areas are supported:

  • Service Inventory
  • Maintenance

This package also includes a CLI tool zayocli to retrieve and display information obtained via the API.

Installation

pip install pyzayo

Before You Begin

You must export two environment variables for use with this library:

  • ZAYO_CLIENT_ID - Your unique client ID value
  • ZAYO_CLIENT_SECRET - Your unique client secret value

You must obtain these values from Zayo.

Quick Start

from pyzayo import ZayoClient

# create a client to the Maintenace API authenticate using the ZAYO_ variables
zapi = ZayoClient()

# use the instance methods to retrieve data
cases = zapi.get_cases()

Usage Documentation

WORK IN PROGRESS

For now, please use the docstrings by doing:

from pyzayo import ZayoClient

help(ZayoClient)

Zayo API Documentation

Download files

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

Source Distribution

pyzayo-0.3.0.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyzayo-0.3.0-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file pyzayo-0.3.0.tar.gz.

File metadata

  • Download URL: pyzayo-0.3.0.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for pyzayo-0.3.0.tar.gz
Algorithm Hash digest
SHA256 8ecde4a5a0889b87f3fcd9cbaf3dc58abb5544bde919f4e3ce4bd1a06c71565f
MD5 d02a1e536398abb6fe711c1219bce2d1
BLAKE2b-256 70dcf4f45d4f02c24833424a8afcf75edf1873b956a73b2cd0b48e8802e8e801

See more details on using hashes here.

File details

Details for the file pyzayo-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: pyzayo-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.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/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for pyzayo-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 92e4f44fae9d3352eeee0adad06736fb8b05f8d1554579f63835dcd4de96010f
MD5 46f83763a85d1ef074c2bdc412f6f7d8
BLAKE2b-256 80483517632724a8d140e6d434bce51bc97210aefe4fb63338139a6e2b2c37c4

See more details on using hashes here.

Release history Release notifications | RSS feed

0.5.0

2 files

This release

0.3.0 This release

2 files

0.2.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page