Closed jeongyoonlee closed 2 years ago
I think the example code is incorrect. I found you can get it working with one of these two approaches:
the method is actually "set_forecast_granularity":
api = Api(api_key)
api.set_forecast_granularity('daily')
or you can define the granularity when you create the Api object
api = Api(api_key, granularity='daily')
They really should update their example code so that it actually works.
The example code returns error: