Python Library for Thither.Direct
Project description
Thither.Direct library for python
============================
Check out the `documentation`__ for more complete examples.
.. __: https://thither.direct/information/services/commercial/index
Installation
------------
Install python libthither:
.. code-block:: console
pip install libthither
Creating a Flow Metrics Statistics Client
------------------------
.. code-block:: python
from libthither.api.fms import FlowMetricsStatisticsClient
client = FlowMetricsStatisticsClient(
'YourFlowID',
pass_phrase='YourPassPhrase',
https=True,
cipher='',
keep_alive=True,
json=False
requests_args={},
)
# after initiated, client can be called with:
client.push_single(YourMetricId, DateAndTime, Value)
client.push_list([[Metric ID, DateTime, Value],])
client.push_csv_data("mid,dt,v\nYourMetricId,DateAndTime,Value")
============================
Check out the `documentation`__ for more complete examples.
.. __: https://thither.direct/information/services/commercial/index
Installation
------------
Install python libthither:
.. code-block:: console
pip install libthither
Creating a Flow Metrics Statistics Client
------------------------
.. code-block:: python
from libthither.api.fms import FlowMetricsStatisticsClient
client = FlowMetricsStatisticsClient(
'YourFlowID',
pass_phrase='YourPassPhrase',
https=True,
cipher='',
keep_alive=True,
json=False
requests_args={},
)
# after initiated, client can be called with:
client.push_single(YourMetricId, DateAndTime, Value)
client.push_list([[Metric ID, DateTime, Value],])
client.push_csv_data("mid,dt,v\nYourMetricId,DateAndTime,Value")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
libthither-0.10.2.tar.gz
(5.0 kB
view hashes)