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

    POST request with Null values

    Scheduled Pinned Locked Moved Developers
    4 Posts 2 Posters 1.6k 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.
    • patpatquP Offline
      patpatqu Meteorologist
      last edited by

      Hi,

      I tried to post a url request and somehow all the data returned "Null" except the timestamps and units. Below is my code in python:-

      g = {"lat": lat,
      "lon": lon,
      "model": "gfsWave",
      "parameters": ["waves"],
      "key": apikey
      }
      header = {"Content-Type":"application/json"}
      wave = requests.post("https://api.windy.com/api/point-forecast/v2", data=json.dumps(g), headers=header)
      jwave = wave.json()

      KorinaK 1 Reply Last reply Reply Quote 0
      • KorinaK Offline
        Korina @patpatqu
        last edited by

        @patpatqu Hello, please find the full documentation at api.windy.com.

        Korina

        patpatquP 2 Replies Last reply Reply Quote 0
        • patpatquP Offline
          patpatqu Meteorologist @Korina
          last edited by

          @korina I wonder if the WINDY API is no longer providing data for normal user?

          1 Reply Last reply Reply Quote 0
          • patpatquP Offline
            patpatqu Meteorologist @Korina
            last edited by

            @korina Never mind the above message, just figured it out!

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