Skip to main content

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='',

# 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

Download files

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

Files for piwik-api, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size piwik_api-0.1.2-py3-none-any.whl (8.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size piwik-api-0.1.2.tar.gz (6.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page