dates: do not crash when presented with a stdlib datetime object
highlight the fact that we do not handle plain datetime objects
api/insert: document the assertion failure
This library provides easy access to tshistory instances exposed with the help of tshistory_rest (http end points).
All the base tshistory
api is available from there.
from tshistory_client.api import Client
c = Client('http://my.tshistory.instance/api')
series = c.get('banana_spot_price')
from tshistory.api import timeseries
c = timeseries('https://my.tshistory.instance/api')
series = c.get('banana_spot_price')