Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com

    Windy API v4 is here. Help us to test it

    Windy API v4
    15
    25
    8835
    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.
    • ivo
      ivo Administrator 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

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

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

        U lrlss 2 Replies Last reply Reply Quote 0
        • U
          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
            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
            • fastseas
              fastseas Developers Sailor last edited by

              Woot! :)

              1 Reply Last reply Reply Quote 0
              • R
                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
                  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
                  • wbcrc
                    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
                      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'?

                      ivo 1 Reply Last reply Reply Quote 0
                      • ivo
                        ivo Administrator @xyw101 last edited by

                        @xyw101 use Promise polyfill it will work

                        1 Reply Last reply Reply Quote 0
                        • petegreg
                          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
                          • lrlss
                            lrlss @Тарантога last edited by

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

                            The sun shines into the darkness,the wings can fly

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

                                  idefix37 1 Reply Last reply Reply Quote 0
                                  • idefix37
                                    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
                                      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
                                        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!

                                        Korina 1 Reply Last reply Reply Quote 0
                                        • Korina
                                          Korina Administrator @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
                                            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

                                            Korina 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
                                            NodeBB & contributors, OSM & contributors, HERE maps
                                            Terms and Conditions     Privacy Policy