Fastly API client that supports billing and stats.
Project description
The Fastly API client (api.fastly.com) that supports billing and stats.
Developed using marshmallow (for serialization) and requests (for REST API calls).
Example
import fastly_client client = fastly_client.Client('your-api-token') period = fastly_client.period(2017, 12, months=1) try: bill = client.bill(period) regions = client.regions(period) services = client.services() stats = client.service_stats(period, services[0].id, regions[0]) except fastly_client.FastlyException: print("An error occurred") raise
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
fastly-client-0.1.7.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file fastly-client-0.1.7.tar.gz
.
File metadata
- Download URL: fastly-client-0.1.7.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae3f194b28caf04bb5f4925559dac058a415fd7a5d84e184ecddde3eae1de266 |
|
MD5 | cc2d248fb8e399b641eaa46a04ef0b73 |
|
BLAKE2b-256 | cbacf9441dee94442f051be359ba0600a3243a53550bab02ed716c1428226212 |
File details
Details for the file fastly_client-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: fastly_client-0.1.7-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 190c38ae340df4e772ce8b17f4664621fd7fac2edb4eb65011758b9e05900ee5 |
|
MD5 | 279ab09753797054aa9717dacebb6f88 |
|
BLAKE2b-256 | d69f2a50ba0222265e1fcaf3584d33f59e4ab0854e11ff6f44bf5e50e9308260 |