pgrimaud / horaires-ratp-api

Webservice pour les horaires et trafic RATP en temps réel
https://api-ratp.pierre-grimaud.fr/v4
MIT License
269 stars 30 forks source link

Error on Directions #68

Closed Bubbles2 closed 6 years ago

Bubbles2 commented 6 years ago

Hi I would be grateful if you could help me with the following problem. If I check the destinations for Bus 86 I get the following

"result": { "destinations": [ { "name": "Saint-Mande - Demi Lune - Parc Zoologique", "way": "A" }, { "name": "Saint-Germain-Des-Pres", "way": "R" }

So the way for direction "Saint-Germain-Des-Pres should be R

but if I use https://api-ratp.pierre-grimaud.fr/v3/schedules/bus/86/eglise+de+saint+mande/R

Note the destination is "Saint-Mande - Demi Lune - Parc Zoologique" so the way is wrong

{ "result": { "schedules": [ { "message": "3 mn", "destination": "Saint-Mande - Demi Lune - Parc Zoologique" }, { "message": "24 mn", "destination": "Saint-Mande - Demi Lune - Parc Zoologique" } ] }, "_metadata": { "call": "GET /schedules/bus/86/eglise+de+saint+mande/R", "date": "2018-02-08T22:38:47+01:00", "version": 3 } }

pgrimaud commented 6 years ago

Hi,

I'm gonna check this asap. Thanks for the issue.

Bubbles2 commented 6 years ago

Thanks

On Tue 13 Feb 2018 at 15:39, Pierre Grimaud notifications@github.com wrote:

Hi,

I'm gonna check this asap. Thanks for the issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pgrimaud/horaires-ratp-api/issues/68#issuecomment-365285760, or mute the thread https://github.com/notifications/unsubscribe-auth/AEI0kXZV3eeXdFis7HGBoHNuUhzAgkhWks5tUZ6ogaJpZM4R_Ewe .

--

Donncha

pgrimaud commented 6 years ago

Hi @Bubbles2,

Unfortunately, this data are returned by the official RATP API. I contact them about it. Wait and see.