mgribov/php-triptelligent

Triptelligent RESTful API PHP5 library

0.5 2014-07-08 19:12 UTC

README

Consumes triptelligent.com REST API by utilizing apiscrape

Install via Composer into existing project

curl -sS https://getcomposer.org/installer | php # if composer is not installed
./composer.phar require mgribov/php-triptelligent

Local Storage

Clients consuming the API are required to respect ETag and Cache-Control headers returned, and cache data locally.
For now, only 1 storage engine is supported, MongoDB.

Examples

See examples/ folder for all use cases
Make sure you install composer and run "./composer.phar dump-autoload" first to use the examples