Metadata-Version: 1.1
Name: piwik-api
Version: 0.1
Summary: Client library for the Piwik Reporting API
Home-page: https://github.com/antsar/piwik-api
Author: Anton Sarukhanov
Author-email: code@ant.sr
License: MIT
Download-URL: https://github.com/antsar/piwik-api/archive/master.zip
Description: Python 3 client library for the `Piwik Reporting
        API <https://developer.piwik.org/api-reference/reporting-api>`__.
        
        The `Piwik Tracking
        API <https://developer.piwik.org/api-reference/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))
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Environment :: Web Environment
Classifier: Environment :: Console
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
