juanitacosmica / FinalProject_RoadTrippr

2 stars 4 forks source link

API Limitations #29

Open semionaut opened 2 years ago

semionaut commented 2 years ago

As we've had parallel discussions about it, this is an issue to track all in one place the features and some of the main limitations of API functionality that may impose constraints on the trip generator.

Nearby Search | Places API

Right now the TrippRoller uses Nearby Search, but that may change.

cons:

pros:

Place Search | Places API

cons:

pros:

MapQuest | Places API

On the mapping and route navigation side, we decided to use MapQuest as much as possible for this, based on the much friendlier rate-limiting, compared to Google APIs which have the potential to incur high costs if not used carefully. For example the routing, route options, and route optimization functions are all pretty good: https://developer.mapquest.com/documentation/leaflet-plugins/routing

But this is about the Place Search API

cons:

pros:

other:

(Route Distance) x (Average Cost of Gas Along Route) ÷ (Vehicle MPG)

We calculate the average cost of gas along your route based on petroleum price data we receive from OPIS, a leading provider of petroleum data. Additionally, we will use your vehicle's fuel range to estimate how often your car will need fuel along your route. The Vehicle MPG used in this calculation can be configured in your MapQuest Account settings under Vehicles.

Conclusion