Gina D • almost 10 years ago
Sin Trafico Api
Is there any available documentation or resources for the api ? Didn't see any on their website.
Comments are closed.
Gina D • almost 10 years ago
Is there any available documentation or resources for the api ? Didn't see any on their website.
Comments are closed.
12 comments
Serena Pietruszka Manager • almost 10 years ago
Hi Gina,
Thanks for your question. You can find a general overview of the SinTráfico API (as well as an API key) on the Resources page of this site: http://fordsmartjourney.devpost.com/details/resources
Best,
Serena
Serena Pietruszka Manager • almost 10 years ago
Hi Gina,
I just wanted to let you know that we've added the link to SinTráfico's full API documentation to the Resources page. You can check it out here: http://apiv2.sintrafico.com/api/spec.html#!/spec.
Serena
jesus orozco • almost 10 years ago
Hi Serena,
I'm having problems testing the SinTrafico's API. This is the call:
curl "http://api.sintrafico.com/route?key=[api-key]&start=19.385994,-99.192323&end=19.458232,-99.113169"
Where api-key is the API Key provided in rules page.
The "Try it" link is not working either (http://api.sintrafico.com/api/spec.html#!/spec/Route)
Thanks
jesus orozco • almost 10 years ago
I've just tested now and it seems to be working.
jesus orozco • almost 10 years ago
I'm checking long routes (for example: Go from Chapultepec Park to the airport) generated by this API and observe the results (duration and points) are identical whether I use "transport=pedestrian" or "transport=car".
Can you verify this please?
Francisco Valdez de la Fuente • almost 10 years ago
Hi Jesus,
We just fixed this issue.
Could you give it another try?
Regards!
jesus orozco • almost 10 years ago
Hi Francisco,
Trip duration is now greater for transport=pedestrian, which seems ok.
But the paths (list of Lat Lng coordinates) are both the same. I'd expect those to differ as pedestrians don't always follow car traffic signals.
FYI: I've checked a trip from Insurgentes Roundabout to Chapultepec-Reforma zone. Rendering results are the same. It first drives me to Insurgentes esq. Napoles and then U-turn to Insurgentes Roundabout and then heading to Chapultepec which seems right for cars. Pedestrians just head directly without following car signals.
Thanks!
Jesus
EDIT: here's image link:
http://imgur.com/fq8Ek0K
Francisco Valdez de la Fuente • almost 10 years ago
Hi Jesus, thanks for the feedback, we looking into this issue, we'll fix it asap.
Regards,
Francisco Valdez de la Fuente • almost 10 years ago
Hi all, I Just want to let everyone know that this issue is fixed, here's a route that followed pedestrian paths: http://i.imgur.com/Hgi79vS.png
jesus orozco • almost 10 years ago
Hi Francisco,
I'm getting inconsistent results. Basically result coordinates are points scattered throughout the country.
My request:
http://api.sintrafico.com/route?key={{apiKey}}&start=19.385994,-99.192323&end=19.458232,-99.113169&transport=car
Thanks
Jesus
Links:
1) Plot of points
http://i.imgur.com/Gl6oGBC.png
2) List of coordinates
https://jpst.it/KVlj
Francisco Valdez de la Fuente • almost 10 years ago
Hi Jesus, we update our cartography automatically very often, it seems that some files are corrupted, we are reprocessing them as we speak. It should be fixed in a few minutes.
jesus orozco • over 9 years ago
Hi Francisco,
I'm posting my project right now (http://devpost.com/software/llevamex). It's powered by SinTrafico.com API!
Thanks!
Jesus