Fastly API client that supports billing and stats.
The Fastly API client (api.fastly.com) that supports billing and stats.
Developed using marshmallow (for serialization) and requests (for REST API calls).
import fastly client = fastly.Client('your-api-token') period = fastly.period(2017, 12, months=1) try: bill = client.bill(period) regions = client.regions(period) services = client.services() stats = client.service_stats(period, services.id, regions) except fastly.FastlyException: print("An error occurred") raise
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for fastly_client-0.1.3-py3-none-any.whl