Table of Contents

Function Definition: getweather(latitude = 23.02, longitude = 72.57)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
latitudefloatGeographical coordinates of the location - latitude.float23.02
longitudefloatGeographical coordinates of the location - longitude.float72.57

Description

The function runs an API call to get the weather data of the location specified with the Longitude and Latitude.

  1. Weather: Group of weather parameters (Rain, Snow, Extreme, etc.)
  2. Temperature:
    1. Current in Celcius
    2. Max in Celcius: Maximum temperature at the moment. This is the maximal currently observed temperature (within large megalopolises and urban areas).
    3. Min in Celcius: Minimum temperature at the moment. This is the minimal currently observed temperature (within large megalopolises and urban areas).
    4. Current in Fahrenheit
    5. Max in Fahrenheit
    6. Min in Fahrenheit
  3. Pressure: Atmospheric pressure (on the sea level, if there is no sea_level or grnd_level data), hPa
  4. Humidity: %
  5. Wind Speed: Wind speed. Unit Default: meter/sec
  6. Wind Direction: Wind direction, degrees (meteorological)
  7. Latitude: City geolocation, latitude
  8. Longitude: City geolocation, longitude
  9. Time
    1. Data Capture:
    2. Sunrise
    3. Sunset
  10. City

Example

There are no examples documented for this article.