An open API service indexing awesome lists of open source software.

https://github.com/mapup/tolls-for-origin-destination-waypoints-php

A simple PHP-based API for calculating toll and fuel costs between two locations. The API accepts origin and destination coordinates and returns estimated costs, as well as optimised route.
https://github.com/mapup/tolls-for-origin-destination-waypoints-php

codeigniter3 codeigniter4 guzzlehttp mapping php route-optimization toll-api toll-calculator tollguru

Last synced: 4 months ago
JSON representation

A simple PHP-based API for calculating toll and fuel costs between two locations. The API accepts origin and destination coordinates and returns estimated costs, as well as optimised route.

Awesome Lists containing this project

README

        

# Origin-Destination Toll and Fuel Cost API for PHP with CodeIgniter Integration

A simple PHP-based API for calculating toll and fuel costs between two locations. The API accepts origin and destination coordinates and returns estimated costs, as well as optimized route suggestions. This repository also includes a sample implementation using the CodeIgniter PHP framework for easy integration into CodeIgniter projects.

### Features:
* Calculates toll and fuel costs between two locations
* Returns optimized route suggestions
* Easy to integrate with PHP applications
* Sample implementation using the CodeIgniter PHP framework

For more examples of the different ways in which the responses from this endpoint can be configured, you can refer to: [Our API parameter examples repository.](https://github.com/mapup/tollguru-api-parameter-examples/tree/main/request-bodies/01-Origin-Destination-Cost-Tradeoff)