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

    API v2: recent observations from open data returns only 7 days back

    Scheduled Pinned Locked Moved Windy Stations
    2 Posts 2 Posters 47 Views 1 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.
    • gptwistedG Offline
      gptwisted | Premium
      last edited by

      Hello,

      I'm trying to get the last 30 days but it always answers "Timestamp (in seconds) can be a maximum of 7 days into the past.". Docs says "Start timestamp (seconds) for the time series; max 30 days back." Is this a bug?

      Endpoint: https://stations.windy.com//api/v2/opendata/station/{id}/observation

      --

      marekdM 1 Reply Last reply Reply Quote 0
      • marekdM Offline
        marekd Windy Staff @gptwisted
        last edited by

        @gptwisted Thanks for letting us know. The bug was in the documentation and it has now been fixed. Previously, it was possible to request 30 days, but we had to limit it to 7 days. It was causing a huge load on our systems as the number of requests increased.

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