Python client to talk to a tshistory time series store through its rest api endpoint (provided in `tshistory_rest`).
api/strip: implement the http client side
pkg: we are now only py3
Added tag 0.7.3 for changeset 1a69182a9b04

clone

read-only
https://hg.sr.ht/~pythonian/tshistory_client
read/write
ssh://hg@hg.sr.ht/~pythonian/tshistory_client

#TSHISTORY CLIENT

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.

#Examples

#Direct invocation

from tshistory_client.api import Client
 
 c = Client('http://my.tshistory.instance/api')
 series = c.get('banana_spot_price')

#Using the tshistory api (preferred way)

from tshistory.api import timeseries
 
 c = timeseries('https://my.tshistory.instance/api')
 series = c.get('banana_spot_price')