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

    What is the UTC time for ts[0] in the Windy Point API?

    Windy API v4
    3
    4
    1.1k
    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.
    • 초성sds9429초
      초성sds9429
      last edited by

      Hello. I am planning to use the Windy Point API. I am trying to understand the time information, but I'm not certain about the exact time for ts[0]. Does it always represent 9 PM of the previous day based on UTC?

      SutyS 1 Reply Last reply Reply Quote 0
      • SutyS
        Suty Administrator @초성sds9429
        last edited by

        Hi @초성sds9429, point forecast API returns the most recent forecast data in time of the API request, it is not possible to receive any historical data.

        John Weather 2J 1 Reply Last reply Reply Quote 0
        • John Weather 2J
          John Weather 2 @Suty
          last edited by

          @Ondřej-Šutera Hi, if there is no historic data in point forecast and 'ts' is always local time, why i have in response ts[0] = '2023-08-13 21:00:00' if local time for point now is '2023-08-14 13:00'? (lat: 42.75, lon: 132.60)

          SutyS 1 Reply Last reply Reply Quote 0
          • SutyS
            Suty Administrator @John Weather 2
            last edited by

            @John-Weather-2 Hi, ts[0] is the first value of the ref time and it is changed according to the local time, so this value is changing according to the location, where you are.

            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 of Use     Privacy Policy