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.2.tar.gz
(6.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file piwik-api-0.1.2.tar.gz.
File metadata
- Download URL: piwik-api-0.1.2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0dcff9877863da9f650f32e8b83421cc11bec261d1dc8334a93e11ce24c7bbb8
|
|
| MD5 |
871e99afc849e54e4e1ede1e4f71a6d2
|
|
| BLAKE2b-256 |
1441815b417ecf445e34d97aeff34e361a3685a8f226d6777d5083fe6459844d
|
File details
Details for the file piwik_api-0.1.2-py3-none-any.whl.
File metadata
- Download URL: piwik_api-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2257bf9d82c0fbb0086d193e6f57205dc8f0caa50ffc4c4e4890c052fe70126
|
|
| MD5 |
31f183108818a5f005d21cd1b9c6c517
|
|
| BLAKE2b-256 |
8f73da78c19bd07a9f17ca7e56cebb7d30f056b0e649d7b5db6aed76f836d7aa
|