An SDK to easily work with the TIER API
Via Pip
pip install tier-sdk
from tier import TIER
tier = TIER(api_token="your-token")
sites = tier.vehicles.in_radius(52.548977, 13.437837, 500)
Available Methods | Description |
---|---|
tier.vehicles.in_radius(latitude, longitude, radius) |
Retrieve a VehiclesCollection dict with details about vehicles for a specific radius. |
tier.vehicles.in_zone(zone_id) |
Retrieve a VehiclesCollection dict with details about vehicles for a specific radius. |
tier.vehicles.get(vehicle_id) |
Retrieve a Vehicle dict with details about a specific vehicle. |
tier.zones.all() |
Retrieve a RootZonesCollection dict with details about all zones. |
tier.zones.near(latitude, longitude) |
Retrieve a RootZonesCollection dict with details about zones within 50km of a set of coordinates. |
tier.zones.get(zone_id) |
Retrieve a RootZone dict with details about a specific zone. |
Please see CHANGELOG for more information on what has changed recently.
hatch shell
hatch run test
If you discover any security related issues, please email security@voke.dev instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
You're free to use this package, but if it makes it to your production environment you are required to buy the world a tree.
It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to plant trees. If you support this package and contribute to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.
You can buy trees here.
Read more about Treeware at treeware.earth.