Python client SDK for the Geotab Altitude APIs
Project description
altitude-sdk
altitude-sdk is a lightweight Python client for the Geotab Altitude APIs. It is designed to make getting started quick and easy, handling authentication, async job submission and polling, and result pagination so you can focus on the data rather than the plumbing.
Requires Python 3.10+.
Installation
pip install altitude-sdk
Usage
import time
from altitude_sdk import AltitudeClient
# Authenticate with your API key; sent as `Authorization: Bearer <api_key>`.
client = AltitudeClient(api_key="your-api-key")
params = {
"zones": [{"code": "32007", "iso_3166_2": "US-NV", "type": "County"}],
"isMetric": False,
"dateFrom": "2025-03-05",
"dateTo" : "2025-03-01"
}
# All-in-one: submit → poll to completion → paginate → list of results
rows = client.stop_analytics.rda(params).all()
# Or step-by-step for more control:
wf = client.stop_analytics.rda(params)
wf.run() # submit the job (non-blocking); sets wf.id
while wf.status()["status"] != "DONE": # poll until the job finishes
time.sleep(5)
rows = wf.results() # fetch the results once DONE
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file altitude_sdk-1.0.1.tar.gz.
File metadata
- Download URL: altitude_sdk-1.0.1.tar.gz
- Upload date:
- Size: 91.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06de9277efe3dfc8561bed0b52797b027001ac0c7666deedd7de2c547d3b19e7
|
|
| MD5 |
b308306648ef82112bfbdd591674f2ed
|
|
| BLAKE2b-256 |
5a6e1a4914c750fc006fd812e79452c0c55b07b68488f87f11b3f530a245340f
|
File details
Details for the file altitude_sdk-1.0.1-py3-none-any.whl.
File metadata
- Download URL: altitude_sdk-1.0.1-py3-none-any.whl
- Upload date:
- Size: 57.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.32 {"installer":{"name":"uv","version":"0.11.32","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f5a692b385c59312ac8320df1e857a48e7d53406a1e9345e4d471c6a4c31af1
|
|
| MD5 |
c55035033e058ba740eda835a014c8b5
|
|
| BLAKE2b-256 |
e1320cf89ec57bac5f6b3979a6e0f211fc0d78a037b0933b15ec1a9c8141854c
|