This object can connect to the openweathermap API and get the 24 hours forecasting of the desired city. For more information about this API see the link bellow : https://openweathermap.org/
cityname
A character shows the city name.
content
A list contains the content of API response.
status_code
An integer that shows the status code of API response.
has_error
A boolean that shows TRUE if there is an error.
initialize(cityname, key = "3c656bd3014279a8f41b90522c014977")
Getting the data from API
print()
Print out the structure of response content
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.