Skip to main content

Fastly API client that supports billing and stats.

Project description

The Fastly API client ( that supports billing and stats.

Developed using marshmallow (for serialization) and requests (for REST API calls).


import fastly_client

client = fastly_client.Client('your-api-token')
period = fastly_client.period(2017, 12, months=1)

    bill = client.bill(period)
    regions = client.regions(period)
    services =
    stats = client.service_stats(period, services[0].id, regions[0])
except fastly_client.FastlyException:
    print("An error occurred")

Project details

Download files

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

Files for fastly-client, version 0.1.7
Filename, size File type Python version Upload date Hashes
Filename, size fastly_client-0.1.7-py3-none-any.whl (5.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size fastly-client-0.1.7.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page