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

    POST request with Null values

    Developers
    2
    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.
    • patpatquP
      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
        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
          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
            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
            Windyty, S.E. - all rights reserved. Powered by excellent NodeBB
            NodeBB & contributors, OSM & contributors, HERE maps
            Terms of Use     Privacy Policy