This is a sample reporo API connection app, leveraging principles such as Asynchronous server polling, Factory Method design pattern and Dependency Injection design paterns. You need your own key and shared secret for it to work and replace the constants in StatisticsFactory.php file under StatisticsFactory class.
You may also introduce other API sources to pull data from by extending new Connection classes.