• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-Ratp (transit all around Paris (France))

Scheduled Pinned Locked Moved Transport
paristraintramwaybusratp
18 Posts 5 Posters 10.6k Views 5 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    Ob018
    last edited by Jan 24, 2017, 6:37 PM

    I love it !
    You did a great job.

    Is there a way to display more than one line ?

    Thx.

    1 Reply Last reply Reply Quote 0
    • D Offline
      dementia
      last edited by Feb 9, 2017, 11:34 PM

      Hi

      Is it working for somebody ?

      On my side it is blocked on “loading connections”

      Thanks

      1 Reply Last reply Reply Quote 0
      • N Offline
        ninja
        last edited by Apr 3, 2017, 7:06 PM

        Hi,
        I’am also interessed on a TRANSILIEN(SNCF) module, if I can help on something ;)

        1 Reply Last reply Reply Quote 0
        • B Offline
          bobbob601
          last edited by Apr 5, 2017, 3:49 PM

          @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.

          1 Reply Last reply Reply Quote 0
          • N Offline
            ninja
            last edited by ninja Apr 5, 2017, 4:56 PM Apr 5, 2017, 4:49 PM

            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…)

            https://ressources.data.sncf.com/explore/dataset/api-temps-reel-transilien/

            1 Reply Last reply Reply Quote 0
            • B Offline
              bobbob601
              last edited by Apr 6, 2017, 5:36 AM

              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 :))

              https://api.sncf.com/v1/coverage/sncf/journeys?from=admin:fr:75056&to=admin:fr:69123&datetime=20170406T073106

              1 Reply Last reply Reply Quote 0
              • B Offline
                bobbob601
                last edited by Apr 6, 2017, 5:56 AM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • N Offline
                  ninja
                  last edited by ninja Apr 6, 2017, 6:31 AM Apr 6, 2017, 6:00 AM

                  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 ;-)

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bobbob601
                    last edited by Apr 6, 2017, 6:13 AM

                    Comme dirait Teal’c: “indeed!”

                    I asked a key too, we’ll see. I read several articles about this api, they were critized because it is not publicly open as requires the law. They say it costs 1 million euro to do this API…

                    N 1 Reply Last reply Apr 7, 2017, 2:10 PM Reply Quote 0
                    • N Offline
                      ninja
                      last edited by Apr 6, 2017, 6:32 AM

                      This is closed open data lol…

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy