Trip Ninja SDK
Project description
Trip Ninja SDK
The Trip Ninja Python SDK is used for interacting with the Trip Ninja API through a easy-to-use library and suite of tools.
Installing
Python 3.10 or higher is required
Linux/MacOS
python3 -m pip install -U tn_sdk
Windows
py -3 -m pip install -U tn_sdk
Quick Example
import tn_sdk
tn_client = tn_sdk.TnApi()
request_data = "{}" # JSON encoded string representing the request data
compressed_data = tn_client.prepare_data_for_generate_solutions(request_data)
# Compresses the data and returns the compressed_data
Development
Setup
From an active virtual env, cd into the directory
pip install -e .
-einstalls it in editable mode. Meaning it will update as you modify the source code without having to re-run the installation command.
Project details
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 tn_sdk-0.0.1.tar.gz.
File metadata
- Download URL: tn_sdk-0.0.1.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
735280805f114d5c659b9670d0be53872b266d003c44ef283c10561f8540b965
|
|
| MD5 |
3c8fa51588e0699a1609202f93ace469
|
|
| BLAKE2b-256 |
51986de6b3a057d817539a601c56be65b404960fbffd903b1299403c533097e8
|
File details
Details for the file tn_sdk-0.0.1-py3-none-any.whl.
File metadata
- Download URL: tn_sdk-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3a29390b53f7e9dfe46aaaff1cd26f6581c6df0bfd5582886cb8c3d66fd1b8a
|
|
| MD5 |
8050a1d6a9a23bf20b314115baebd879
|
|
| BLAKE2b-256 |
cc71f26373563875709ed3864fd9f03f8ed27f5034bdbe4196ebc3d8d1602e46
|