Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on Directions #68

Closed
Bubbles2 opened this issue Feb 8, 2018 · 3 comments
Closed

Error on Directions #68

Bubbles2 opened this issue Feb 8, 2018 · 3 comments
Labels

Comments

@Bubbles2
Copy link

Bubbles2 commented Feb 8, 2018

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 pgrimaud added the bug label Feb 13, 2018
@pgrimaud
Copy link
Owner

Hi,

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

@Bubbles2
Copy link
Author

Bubbles2 commented Feb 13, 2018 via email

@pgrimaud
Copy link
Owner

Hi @Bubbles2,

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants