Windy Community
    • Unread
    • Categories
    • Groups
    • Go to windy.com
    • Register
    • Login

    Windy API v4 is here. Help us to test it

    Scheduled Pinned Locked Moved Windy API v4
    25 Posts 15 Posters 22.2k Views 4 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.
    • ivoI Offline
      ivo Windy Staff
      last edited by ivo

      After quite a long time I have finished API v4, easy to use library, that can run in your project, on your domain. All the examples and documentation resides at https://api4.windy.com/

      _center_shadow

      API v2.3 (the old JS library developed in 2016) will be discontinued as of 31.11.2018 so please migrate as soon as possible.

      API v3.0 (mywindy.com apps) will continue running, but we will not upgrade client codes, that are powering Windy iframe.

      Enjoy new API and stay Safe

      Ivo

      saaneuvosS 1 Reply Last reply Reply Quote 2
      • Т Offline
        Тарантога
        last edited by

        Can't test and use it...
        403 Error

        U lrlssL 2 Replies Last reply Reply Quote 0
        • U Offline
          udometer @Тарантога
          last edited by

          @тарантога The examples were not showing anything until I added some CSS for " #windy {width: 100%; height: 100%;} "

          1 Reply Last reply Reply Quote 3
          • J Offline
            jbarkai
            last edited by

            Hi I am struggling to get the daily forecast to show below, is there a simple way to do this that I'm missing?

            1 Reply Last reply Reply Quote 0
            • fastseasF Offline
              fastseas External Developers Sailor
              last edited by

              Woot! :)

              1 Reply Last reply Reply Quote 0
              • R Offline
                ryanshores
                last edited by

                I seem to be getting "store Invalid value for product" on a lot of the overlays. Is there something to fix this or just wait for it to be fixes?

                1 Reply Last reply Reply Quote 0
                • G Offline
                  garybrucey
                  last edited by

                  This works great for showing a map at a specific lat/long and letting the user move around the map and change options. Works on mobile too!

                  1 Reply Last reply Reply Quote 0
                  • wbcrcW Offline
                    wbcrc
                    last edited by

                    Thanks for the v4 api, the picker isn't displaying any data on android chrome/68.0.3440.91
                    plus it would be nice to zoom more than 11, not sure if that's intentional or not though I understand that it can put a lot of load on a tile server., If that's the case
                    perhaps you could add an option to check the hosts tile cache. so fetching a tile would be browser cache -> host cache -> windy. or can I do that via leaflet?

                    1 Reply Last reply Reply Quote 0
                    • X Offline
                      xyw101
                      last edited by

                      I tried the api v4.0 it doesn't seem to work on IE11 even I changed the arrow function. Also, is 'SST' (sea temperature) only workking under 'ecmwf'?

                      ivoI 1 Reply Last reply Reply Quote 0
                      • ivoI Offline
                        ivo Windy Staff @xyw101
                        last edited by

                        @xyw101 use Promise polyfill it will work

                        1 Reply Last reply Reply Quote 0
                        • petegregP Offline
                          petegreg
                          last edited by

                          Hi, Is the ConextMenu available in api 4? Its really useful to have the Distance & Planning tool.

                          1 Reply Last reply Reply Quote 0
                          • lrlssL Offline
                            lrlss @Тарантога
                            last edited by

                            @тарантога me too

                            The sun shines into the darkness,the wings can fly

                            1 Reply Last reply Reply Quote 0
                            • saaneuvosS Offline
                              saaneuvos @ivo | Premium
                              last edited by

                              @ivo I'm intrested to purchase API4. I'm not a programmer and I have very poor skill to code. So I'm asking if I purchase API4, can I get my old API3 scripts to myself?

                              1 Reply Last reply Reply Quote 0
                              • X Offline
                                xyw101
                                last edited by

                                @Ivo Thanks. How can I use 'sst' overlay? Is it only available under 'ecmwf'? Because I can set it on your main site, but I cannot set it in the examples (using chromes console). I can see "sst" in the allowed list but it returns Uncaught (in promise) undefined when I try to set it

                                1 Reply Last reply Reply Quote 0
                                • A Offline
                                  antonms
                                  last edited by

                                  Hi there!
                                  Looks like I found a bug: when you click on city there's no close button for info block (red circle with white cross). It's not present on your main site.
                                  Thanks

                                  idefix37I 1 Reply Last reply Reply Quote 0
                                  • idefix37I Offline
                                    idefix37 Sailor Moderator @antonms
                                    last edited by idefix37

                                    @antonms
                                    Your comment about this bug is not clear.
                                    Could you post a screenshot?

                                    A 1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      antonms
                                      last edited by

                                      You can test it by placing your iframe with default settings.

                                      • It's not a big problem for bigger screens:
                                        windy-01.jpg

                                      • But it confuses users on small sizes. Map height becomes too short:
                                        windy-02.jpg

                                      Thanks for fast feedback!

                                      1 Reply Last reply Reply Quote 0
                                      • A Offline
                                        antonms @idefix37
                                        last edited by

                                        @idefix37

                                        Oh, sorry. I placed my comment in wrong place but can't delete it

                                        @antonms said in Windy API v4 is here. Help us to test it:

                                        You can test it by placing your iframe with default settings.

                                        • It's not a big problem for bigger screens:
                                          windy-01.jpg

                                        • But it confuses users on small sizes. Map height becomes too short:
                                          windy-02.jpg

                                        Thanks for fast feedback!

                                        KorinaK 1 Reply Last reply Reply Quote 0
                                        • KorinaK Offline
                                          Korina @antonms
                                          last edited by

                                          @antonms Hello, if I go to Windy.com on desktop or mobile device, I can see the close button. Your display resolution may cause some problems.

                                          Korina

                                          A 1 Reply Last reply Reply Quote 0
                                          • A Offline
                                            antonms @Korina
                                            last edited by

                                            @Korina
                                            No, I've tried a lot of different variations but it's not visible. This bug is on <iframe> only!
                                            I placed default code from windy.com on jsbin:
                                            https://jsbin.com/nilazavive/edit?html,output
                                            Please see

                                            KorinaK 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Windy Community  |  Powered by excellent NodeBB
                                            Terms of Use     Privacy Policy     Windy.com