NavOptix Python SDK 1.0.0
NavOptix Python SDK for geocoding, route optimization, ETA, and reverse geocoding.
Installation
pip install navoptix
Sample Usage
from navoptix_sdk import NavOptixSdk
from navoptix_sdk.models.navoptix_optimize_request import NavOptixOptimizeRequest
sdk = NavOptixSdk(access_token="YOUR_API_KEY", base_url="http://localhost:7718")
geocode = sdk.intelligence.geocode(loccode="LA15A 2AE")
request = NavOptixOptimizeRequest(
origin_loccode="LA15A 2AE",
origin_id="A",
destination_loccode="LA13A 1ML",
destination_id="B",
)
optimized = sdk.intelligence.optimize(request)
eta = sdk.intelligence.calculate_eta("LA15A 2AE", "LA13A 1ML")
location = sdk.intelligence.get_location(6.45, 3.39)
health = sdk.health.health()
Services
| Service | Methods |
|---|---|
intelligence |
geocode, optimize, calculate_eta, get_location |
health |
health |
Response envelope
All intelligence endpoints return { success, message, data, timestamp }.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
navoptix-1.0.0.tar.gz
(9.9 kB
view details)
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
navoptix-1.0.0-py3-none-any.whl
(28.4 kB
view details)