Windy Community

    • Register
    • Login
    • Search
    • Unread
    • Categories
    • Groups
    • Go to windy.com

    Mapping between API response and weather icons

    Developers
    2
    4
    202
    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.
    • S
      sdolotom last edited by

      Hello,
      I am using windy API for a custom weather forecast widget. How can I map the response data to the weather summary icon (cloudy, sunny, rainy, etc)? I can't find anything related in the API docs.

      Filip_K 1 Reply Last reply Reply Quote 0
      • Filip_K
        Filip_K Developers @sdolotom last edited by

        Hello @sdolotom. Are you referring to ptype parameter? If so, check Parameters section of docs https://api.windy.com/point-forecast/docs#parameters

        S 1 Reply Last reply Reply Quote 0
        • S
          sdolotom @Filip_K last edited by

          @filip_k Hello! ptype gives the precipitation info, yes. But how do I e.g. derive the cloud cover summary from the three values lclouds, mclouds and hclouds? I mean, how to convert them to "cloudy", "partly cloudy" etc?

          Filip_K 1 Reply Last reply Reply Quote 0
          • Filip_K
            Filip_K Developers @sdolotom last edited by

            @sdolotom There is no only right way to do so. You could perhaps have a look at what meteoblue has to say about this topic (section Quantification of cloud cover) https://content.meteoblue.com/en/specifications/weather-variables/clouds

            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 and Conditions     Privacy Policy