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

    Different dates for same webcam in V2 and V3 API

    Scheduled Pinned Locked Moved Webcams API
    2 Posts 2 Posters 845 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.
    • L Offline
      Lakehorn
      last edited by

      When using V2 for webcam 1225880502 the API returns:

      "id": "1225880502",
      "update": 1696157494 // converted: 2023-10-01 10:51:34

      However with API V3 it returns:

      "webcamId": 1225880502,
      "status": "active",
      "lastUpdatedOn": "2023-10-01T10:14:23.000Z",

      Calls were executed at the same time (and return the same image) but return different image dates.

      Which is correct? Or has the date field in V3 a different meaning? How to be sure to have the correct image timestamp?

      Thank you for clarification.

      1 Reply Last reply Reply Quote 0
      • SutyS Suty moved this topic from Developers on
      • caldrjirC Offline
        caldrjir Windy Staff
        last edited by

        Hi @Lakehorn, V3 is correct, but there was a little bug in it, which should be fixed right now.

        Windy.com webcams developer

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