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/
citynameA character shows the city name.
contentA list contains the content of API response.
status_codeAn integer that shows the status code of API response.
has_errorA 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.