Client library for the Piwik Reporting API
Project description
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))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
piwik-api-0.1.1.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for piwik_api-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35772bdeecab11f4a702d0a4ca0a30ea896fa2c974fefbd22915fda17b79a117 |
|
MD5 | 7655fa447a61a40ac642f0b12f1c9dd4 |
|
BLAKE2b-256 | 8a40597520fc46d4118e562c1f6e19f7e6a787d98f06b84c0bf616402a7d84d3 |