piwik-api 0.1.2

Last updated:

0 purchases

piwik-api 0.1.2 Image
piwik-api 0.1.2 Images
Add to Cart

Description:

piwikapi 0.1.2

Python 3 client library for the Piwik Reporting
API.
The Piwik Tracking
API is not
supported.

Example Usage
from piwik_api import PiwikAPI

p = PiwikAPI(url='https://piwik.example.com',
token='e9f31a88fce426cd27aa4734ace348b8')

# Get list of sites with activity today
sites = p.MultiSites.getAll(period='day', date='today')

# Get stats for all pages, filtered by date range
from datetime import date
pages = p.Actions.getPageURLs(idSite=1, period='range', date=date(2017, 6, 1),
end_date=date(2017, 6, 15))

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.