WattTime / watttime-python-client

A software development kit for the WattTime API, showing basic examples of usage.
4 stars 6 forks source link

Fix historical forecasts #2

Closed nsteins closed 9 months ago

nsteins commented 10 months ago

Historical forecasts chunks requests by day and returns a list of JSON dicts, but they were being treated like a single JSON dict. Instead of trying to join them all together, I changed the code to properly handle a list of dicts.

There are also some small changes in here to get the tests to run properly.