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.

    Wanted holiday module

    Scheduled Pinned Locked Moved Requests
    20 Posts 5 Posters 11.2k 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @wizz
      last edited by Mykle1

      @wizz said in Wanted holiday module:

      Test keys are unmetered and return dummy holiday day.

      I was willing to try this for you but even the free API key you get from https://holidayapi.com only returns historical data.
      {"status":402,"error":"Free accounts are limited to historical data. Upgrade to premium for access to current and upcoming holiday data. Log into your account for upgrade options!"}
      I don’t think anyone here is willing to pay for a premium account. It sort of defeats the purpose of free open source. Sorry friend.

      {"status":200,"holidays":[{"name":"April Fools' Day","date":"2016-04-01","observed":"2016-04-01","public":false},{"name":"Earth Day","date":"2016-04-22","observed":"2016-04-22","public":false},{"name":"National Arbor Day","date":"2016-04-29","observed":"2016-04-29","public":false}]}
      Not really much to work with here to warrant creating a module

      Create a working config
      How to add modules

      W 1 Reply Last reply Reply Quote 0
      • cowboysdudeC Offline
        cowboysdude Module Developer
        last edited by cowboysdude

        I wrote a module for my joomla site and I use a holiday file of sorts let me check and see where I get my data from…

        I didn’t… I created an xml file that is good until 2020… with all the American Holidays…

        Which you are free to use if you’d like ;)

        Mykle1M 1 Reply Last reply Reply Quote 1
        • W Offline
          wizz @Mykle1
          last edited by

          @Mykle1 That i understand and the live free key you get when signing up at holidayapi.com is only Limited to 500 calls per month, historical data only and no for future data.

          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @wizz
            last edited by

            @wizz said in Wanted holiday module:

            That i understand and the live free key you get when signing up at holidayapi.com is only Limited to 500 calls per month, historical data only and no for future data.

            Yes, I know. I signed up for the live free API key and that is the key I used to get the data above.

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @cowboysdude
              last edited by

              @cowboysdude said in Wanted holiday module:

              Which you are free to use if you’d like

              As soon as I am done finalizing the module I am working on now I will take a look at what you have. That’s fantastic of you to offer it. Thanks! :thumbsup_tone1:

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • P Offline
                pauabaer
                last edited by

                @cowboysdude is your module available on github?
                i could live with a workaround with xml. Once created, it has to be updated just once a year. thats ok for me :)

                cowboysdudeC 1 Reply Last reply Reply Quote 0
                • cowboysdudeC Offline
                  cowboysdude Module Developer @pauabaer
                  last edited by cowboysdude

                  No, not yet :) Still working on it… I have it mostly done just needs a bit more work…

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pauabaer
                    last edited by

                    Sounds like you are my man. I am looking forward for the vacation and quotation module ;)

                    Mykle1M 1 Reply Last reply Reply Quote 0
                    • Mykle1M Offline
                      Mykle1 Project Sponsor Module Developer @pauabaer
                      last edited by

                      @pauabaer said in Wanted holiday module:

                      Sounds like you are my man. I am looking forward for the vacation and quotation module

                      Yeah, he’s a good dude. You just have to ask him and he makes it happen. :thumbsup:

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        pauabaer
                        last edited by

                        @cowboysdude is it possible to integrate this function in the default calendar module?

                        strawberry 3.141S 1 Reply Last reply Reply Quote 0
                        • strawberry 3.141S Offline
                          strawberry 3.141 Project Sponsor Module Developer @pauabaer
                          last edited by

                          @pauabaer this would require an ics file

                          Please create a github issue if you need help, so I can keep track

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            pauabaer
                            last edited by pauabaer

                            @strawberry-3-141 this could be done manually or am i right? i could imagine that there exists some tutorials how to create such .ics file. or there exists already ical holiday files. but much more interesting is the config possibility.

                            the default calendar entries can be configured “relative” or “absoulte”. for the holidays it would be nice if they can be shown as duration time (e.g. 25.04.2017-30.04.2017) within the default calendar module, while the other entries occure still relative or absolute. is this possible at all?

                            strawberry 3.141S 1 Reply Last reply Reply Quote 0
                            • strawberry 3.141S Offline
                              strawberry 3.141 Project Sponsor Module Developer @pauabaer
                              last edited by

                              @pauabaer I’m not using a calendar, But I’m pretty sure that this isn’t possible atm without making changes.

                              Please create a github issue if you need help, so I can keep track

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                pauabaer
                                last edited by

                                i expected that answer. :)
                                what do you think, is it possible to configure this module and the calendar module in a way that it is only shown when there are current events? When there are no events it should be hidden?

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  pauabaer
                                  last edited by pauabaer

                                  hey @cowboysdude now you finished with the gqutoe-module i wanted to ask about your progress with the holiday-module based on xml file? i feel so impatient, sorry for that! :D

                                  cowboysdudeC 1 Reply Last reply Reply Quote 0
                                  • cowboysdudeC Offline
                                    cowboysdude Module Developer @pauabaer
                                    last edited by

                                    @pauabaer Here’s a hint for you…
                                    0_1493378721797_Capture2.PNG

                                    1 Reply Last reply Reply Quote 1
                                    • P Offline
                                      pauabaer
                                      last edited by

                                      @cowboysdude hm.i cant do anything with that hint -.-

                                      cowboysdudeC 1 Reply Last reply Reply Quote 0
                                      • cowboysdudeC Offline
                                        cowboysdude Module Developer @pauabaer
                                        last edited by

                                        @pauabaer It’s going to read from an xml file that you can edit… and make it say anything you want and when there’s no holiday it will show nothing…

                                        W 1 Reply Last reply Reply Quote 1
                                        • W Offline
                                          wizz @cowboysdude
                                          last edited by

                                          @cowboysdude That looks great :)

                                          1 Reply Last reply Reply Quote 1

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          • 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