The "get_current_weather" function works fine when I run this:
data=get_current_weather(api_key,city="Cox's Bazar")
However, when i run this:
data= get_weather_forecast(api_key,city="Cox's Bazar")
it returns
$cod
[1] "404"
$message
[2] "city not found"
The "get_current_weather" function works fine when I run this:
data=get_current_weather(api_key,city="Cox's Bazar")
However, when i run this:
data= get_weather_forecast(api_key,city="Cox's Bazar")
it returns
$cod
[1] "404"
$message
[2] "city not found"