bolt-fleet-client
Unofficial Python client for Bolt's Fleet Owner Portal and Fleet Integration API.
Covers two surfaces:
Client.web— the Fleet Owner Portal (session-based, username/password auth). Drivers, vehicles, earnings, order history, block history, live map, etc.Client.api— the Fleet Integration API (OAuth2 client-credentials auth). Paginated orders, drivers, vehicles, and state logs.
Install
pip install bolt-fleet-client
Usage
Fleet Owner Portal (web)
from bolt_fleet_client import Client
client = Client()
client.web.initialize(user_id="...", company_id="...", title="My Fleet")
client.web.authenticate(username="...", password="...")
vehicles = client.web.get_vehicles_by_status()
drivers = client.web.get_drivers_by_date_range(from_date, to_date)
Fleet Integration API (api)
from bolt_fleet_client import Client
client = Client()
client.api.authenticate(client_id="...", client_secret="...")
orders = client.api.get_orders(company_id=123, start_ts=start, end_ts=end)
Notes
Client(proxy=True)routes requests through a local proxy (HTTP_PROXY/HTTPS_PROXYenv vars) if one is reachable on127.0.0.1:8080.- Logging uses loguru; the library does not configure sinks — configure
loguruin your own application if you want log output. - This is an unofficial client built against Bolt's fleet owner portal and integration API as observed in practice; endpoints are undocumented and may change without notice.
License
Apache-2.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bolt_fleet_client-0.1.0.tar.gz
(17.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
File details
Details for the file bolt_fleet_client-0.1.0.tar.gz.
File metadata
- Download URL: bolt_fleet_client-0.1.0.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70ff5a46d84aedab7a81efdab66935a97413b2220a024c8e9d1a516b4fcc66fe
|
|
| MD5 |
6f12c2074c43ed3444ac106c853662f8
|
|
| BLAKE2b-256 |
f6bc6d95fda5424dd0be73c47b0e889d7bb2c21112dbcc374a439d23e882ed5b
|
File details
Details for the file bolt_fleet_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bolt_fleet_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2e78a6839d7293c8a5bbfa142cb348d3b235630544aab0ec19f9f8394cd1125
|
|
| MD5 |
2cd2efc801f9e295d759e62a002548b0
|
|
| BLAKE2b-256 |
5b5e2054c0a3c66d1ca66091a8e6dd85ca0f53f3c76b7a078fe070168c8dfaa3
|