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.

    Need help using an API

    Scheduled Pinned Locked Moved Feature Requests
    6 Posts 3 Posters 4.5k Views 3 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.
    • T Offline
      Thornwalker
      last edited by

      Hey all!

      I was hoping this is the right place to get some help.

      I am planning on making a magic mirror for my wife for her birthday (early dec).

      I am getting my very first raspberry pi 3 tomorrow via amazon. I have done literally 0 programming. But have googled enough to figure out how to load the OS on and get the basic modules (or so i think).

      I wanted to add one thing. I am a resident physician and my schedule can be super variable. I was hoping that I could figure out a way to use the schedule from amion.com (a system that many hospitals use). It has a generic login for everyone in the hospital.

      I’ve attached a screen shot of the typical load out. As you can see it, it list everyone on call for the department. I was interested in just displaying a single section 'radiology after hours - residents" section.

      Any resources to help me do this? I’ve searched on git hub. But all i found was this schedule parser but im not sure it will do exactly what I want.

      Thanks in advance!

      0_1476847019969_upload ss.jpg

      1 Reply Last reply Reply Quote 0
      • bheplerB Offline
        bhepler Module Developer
        last edited by bhepler

        You should be able to use the default Calendar module that comes with the stock Magic Mirror installation. So long as you can get your calendar available to you as an ICS feed, you should be good to go. Flipping through the Amion website, I did find a reference to ICS format, so I know they’re capable of producing it.

        It seems like you should be able to tie in with little trouble.

        On the off chance you missed it, here is the link to the Calendar module documentation.

        1 Reply Last reply Reply Quote 0
        • T Offline
          Thornwalker
          last edited by

          Awesome! I hopefully I will get my pi up and running tomorrow night and I can try it out.

          Thanks. I will report back if it indeed works!

          1 Reply Last reply Reply Quote 0
          • T Offline
            Thornwalker
            last edited by

            the amazon shipment got here late tonight. Gonna get raspbian up and running and go from there. Will update in a day or two. Thanks!

            1 Reply Last reply Reply Quote 0
            • J Offline
              jc21
              last edited by

              A quick look on that website and I found an API they provide. When you get more advanced you can hook into that.

              1 Reply Last reply Reply Quote 0
              • T Offline
                Thornwalker
                last edited by

                Just FYI for anyone who tries this later. It worked flawlessly! I had to mess around with exactly what info I needed to pull. But now my mirror shows when i’m on call.

                Thanks for the help!

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • 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