symfony-bundle apihistogram
ApiHistogram is a Symphony Bundle that allows you to create historical data from your web services
arnulfosolis/apihistogram
ApiHistogram is a Symphony Bundle that allows you to create historical data from your web services
- Thursday, April 14, 2016
- by arnulfojr
- Repository
- 1 Watchers
- 0 Stars
- 29 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
ApiHistogram
ApiHistogram aims to create a history of your API responses and stores
the response in your database, so you can analyse variable data coming
from any web service that does not offer historical data, or to create
your own historical data based on a third party service., (*1)
Installation
- First add ApiHistogram to your project with composer.
- Composer:
composer require arnulfosolis/apihistogram @dev
- Then, if needed, call
composer install
or composer update
to get all the dependencies set.
- Make sure that the
ApiHistogramBundle
is registered in
the AppKernel
.
- All ApiHistogram Classes lay under:
- Namespace:
ApiHistogram\
.
- Fill the needed configuration in the your target's
config.yml
file.
- See
README_CONFIG.md
file under /ApiHistogram
directory
- Make sure you set your database's configuration in the parameter's
file.
- You're done!
Description
ApiHistogram allows developers to query API data and save the response
data automatically while trying to be the most flexible as possible.
ApiHistogram focuses on performance, so all calls are asynchronous., (*2)
This allows to have "LIVE" data coming every time the command line tool
is called php app/console api-histogram:update
, (*3)
Usage
- To use the application, make sure you define your
sites
in the
configuration file config.yml
.
- Recommendation: Use a separate file to define your calls.
- And every time you call the command
php app/console api-histogram:update
ApiHistogram will append the
new data to the database.
Future development
- The Api calls are now being used with a simple GET HTTP method. As
this is a good approach for a REST-full approach, no extra headers are
being placed in the request. So next step will be to add optional
headers to the HTTP Request.
- For now, all data is being saved in one schema in one connection,
in future releases using different schemas for different connections
for individual calls will be possible.
- New ideas coming soon!
- Arnulfo Solis
- Email: arnulfojr@kuzzy.com
- Twitter: @arnulfojr
- Demo: http://qcharts.myarny.org/qcharts
dev-master
9999999-dev
https://github.com/arnulfojr/ApiHistogram-Standard
ApiHistogram is a Symphony Bundle that allows you to create historical data from your web services
Sources
Download
MIT
The Requires
The Development Requires
by
Arnulfo Solis Ramirez
api
sql
http
doctrine
response
history
save
persist
qcharts
apihistogram
histogram
1.0
1.0.0.0
https://github.com/arnulfojr/ApiHistogram-Standard
ApiHistogram is a Symphony Bundle that allows you to create historical data from your web services
Sources
Download
MIT
The Requires
The Development Requires
by
Arnulfo Solis Ramirez
api
sql
http
doctrine
response
history
save
persist
qcharts
apihistogram
histogram