MMM-Ratp (transit all around Paris (France))
With the help of @strawberry-3-141, I created my first transit module to get the schedule of the next trains/bus/night bus/rer/tramway of any station of any line all around
[21/04/2017] v 1.1
- UI revised
- Module is now multi-instance
Thank you for your work!
Did you also create a specific SNCF module?
I think SNCF data are more accurate for RER and other paris area trains.
I love it !
You did a great job.
Is there a way to display more than one line ?
Is it working for somebody ?
On my side it is blocked on “loading connections”
I’am also interessed on a TRANSILIEN(SNCF) module, if I can help on something
@Ob018 , yeah but it’s tricky, you have to duplicate the module once installed and change the config/code file to call it MMM-RATP2 for instance. Not clean but whenever I try to do on module, several lines, node.js loses its mind and mixes the results
@jeremy_fr for that you need that SNCF exposes an API which was not the case six months ago.
@dementia, be sure that the config is correct. it the URL is good (test in a browser, it should work). Send me a PM, we can search for the issue
@ninja, same issue than before. doing the module is ‘easy’, but you need a server where the times of the train are available and it was not the case for SNCF.
Salut, Hi @bobbob601 !
I’ve send an email to the SNCF for accessing their Api yesterday.
After that, they ll send the api and username / password to use it.
We can Keep in touch about this if you want ?
Their is a sort of restriction so I dont know if we can share the api, or if it’s better to ask for api user by user… (painfull…)
You can “share” it using a “developer” api key but it will be limited to 5000 calls/day which can be quickly reached if you update the widget every minute. Each user will have to request an api key for sure.
the format of the api URL is not the same and I bet the json format returned by the api will also be totally different which means, redevelop totally a new module (but the mecanism can be inspired from mine - which was inspired from another one )
This post is deleted!
You have to chose an other api “Transilien temps réel” the one the left https://data.sncf.com/api/fr/apis
An request it by e-mail, I’m waiting for their answer for 2 days now