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

    Windy Webcam API V3 - URL issue + Bounding Box Validation

    Scheduled Pinned Locked Moved Webcams API
    4 Posts 2 Posters 2.4k Views 2 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.
    • fkrauthanF Offline
      fkrauthan | Premium
      last edited by

      Sorry for double post I missed that there is a area specific to webcam API.

      I just upgraded my code from Windy Webcam API V2 to V3 but run into the following issue:

      I am requesting the urls section but the URLs provided (e.g. this one here https://webcams.windy.com/webcams/1680794205 show a 404 error page. This seem to be valid for all urls returned (not just a problem for a single webcam).

      My second issue is with using the /map/cluster endpoint. When providing my bounding box (right out of Leaflet) and the Leaflet zoom level I get the Maximal distance between west and east longitudes on the zoom level 12, should be 0.17578125! error. The exact same data worked on V2 API. I pretty much have to remove two zoom levels (e.g. 12 I need to request as 10) for the API call to work (it feels like that ether zoom level has changed and/or the validation is slightly to strict. My full API query is for example: https://api.windy.com/webcams/api/v3/map/clusters?northLat=49.24855560361254&eastLon=-122.48485827914439&southLat=49.17813370208243&westLon=-122.89993548861705&zoom=12&include=location,images,player,urls

      Hope someone can help out with the urls (as that is currently broken) and provide some insight in the clusters API.

      1 Reply Last reply Reply Quote 0
      • caldrjirC Offline
        caldrjir Windy Staff
        last edited by

        Hi @fkrauthan,

        thanks for your urls bug report, it should be fixed right now.

        About the second one, yes you are right, we completely changed our bounding box limits in V3 for /map/cluster.
        In the new version, the cluster is based on Google map tilerSnímek obrazovky 2023-10-02 v 15.08.29.png

        Windy.com webcams developer

        1 Reply Last reply Reply Quote 0
        • caldrjirC Offline
          caldrjir Windy Staff
          last edited by

          You can read more at Migration from Webcams API Version V2 to V3 guide.
          Or test it by yourself at webcam API docs

          Snímek obrazovky 2023-10-02 v 15.15.36.png

          Windy.com webcams developer

          fkrauthanF 1 Reply Last reply Reply Quote 0
          • fkrauthanF Offline
            fkrauthan @caldrjir | Premium
            last edited by

            @caldrjir Perfect I can confirm the URL is now working. However it seems like the new cluster endpoint returns a lot less points on the map than previously.

            Would be great if that potentially could be fine-tuned a bit more.

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