No project description provided
Project description
deepinspection python
Python client library for deepinspection. Designed to simplify and exemplify interaction with the External API.
See the Optram example for a complete example including converting to a custom format for internal use.
Install
Use your preferred package manager:
poetry add deepinspection
or
pip install deepinspection
Usage
import deepinspection
client = deepinspection.track.client(
customer_id="customer-id",
client_id="XYZ",
client_secret="XYZ",
)
# list exports
exports = client.exports.fastenings.list()
# get export data
export = exports[0]
for fastening in client.exports.fastenings.get_data(export["id"]):
pass
The customer id should match with the website url https://customer-id.track.deepinspection.io/
.
exports
[
{
"updated": "2024-02-01T23:20:20.605136+00:00",
"id": "461731a1-96c8-4ed6-99e4-9fe424eb9c40",
"measurement_name": "20231001_124327_2011T",
"measured": "2023-10-01T12:43:27.605136+00:00",
"type": "fastenings",
"downloaded": null,
"created": "2024-02-01T23:20:20.605136+00:00",
"user_id": "a338595f-6eba-481b-9f0f-112290a1078b"
},
...
export_data
{"id": "56fb582a-0280-43fa-81f3-2a444e7e4273", "position_geographical": {"track_section": "111",
...
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for deepinspection-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8d412ca438f3a31647a80b934e2b2293f4e348327fdd88e53ab2a77eb727511 |
|
MD5 | bd2d90ba10d8a4ef3e4ac86b53cb861e |
|
BLAKE2b-256 | 8fae10d107763e8514f19f0fb901262dc17573a56b3b92e0a7ee1373c3022f44 |