Read this guide if
You can use directly Piwik's codebase to call the reporting API. Learn more in Querying the reporting API.
A Ruby client for the reporting API is available on Github: github.com/piwik/piwik-ruby-api.
A complete Python client implementation of the reporting API is available on Github at github.com/piwik/piwik-python-api.
A C# client implementation of the reporting API is available on Github at github.com/piwik/piwik-dotnet-api.
A NodeJS client is available on Github at github.com/sandfox/nodejs-piwik.
A client library for Laravel (a PHP framework) is available at github.com/RobBrazier/Laravel_Piwik.
You can view the complete list of clients and integrations of Piwik at piwik.org/integrate/.