Closed hugo-pires closed 9 years ago
Hi, the time parameter needs to be a Python datetime object.
For example
import datetime
api_key = "xxxx"
lat = xxxx
lng = xxxx
time = datetime.datetime(2015, 01, 06, 12, 0)
forecast = forecastio.load_forecast(api_key, lat, lng, time)
You can read up on datetime objects here https://docs.python.org/2/library/datetime.html#datetime-objects
Hello
When I make a load forecast like this
python returns the following error
Could you help me?