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 valueZAYO_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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ecde4a5a0889b87f3fcd9cbaf3dc58abb5544bde919f4e3ce4bd1a06c71565f
|
|
| MD5 |
d02a1e536398abb6fe711c1219bce2d1
|
|
| BLAKE2b-256 |
70dcf4f45d4f02c24833424a8afcf75edf1873b956a73b2cd0b48e8802e8e801
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92e4f44fae9d3352eeee0adad06736fb8b05f8d1554579f63835dcd4de96010f
|
|
| MD5 |
46f83763a85d1ef074c2bdc412f6f7d8
|
|
| BLAKE2b-256 |
80483517632724a8d140e6d434bce51bc97210aefe4fb63338139a6e2b2c37c4
|