A Python client library for the Street Manager API
Project description
Street Manager Python Client
A Python client library for the Street Manager API, providing access to work, geojson, and lookup endpoints.
Installation
uv add streetmanager
Usage
# Import the client modules
from streetmanager.work import swagger_client as work_client
from streetmanager.geojson import swagger_client as geojson_client
from streetmanager.lookup import swagger_client as lookup_client
# Create API client instances
work_api = work_client.DefaultApi()
geojson_api = geojson_client.DefaultApi()
lookup_api = lookup_client.DefaultApi()
# Use the APIs
# Example: Get work details
work_response = work_api.get_work(work_id="123")
# Example: Get GeoJSON data
geojson_response = geojson_api.get_work_geojson(work_id="123")
# Example: Lookup street details
street_response = lookup_api.get_street(usrn="123456")
Features
- Work API client for managing street works
- GeoJSON API client for accessing geographical data
- Lookup API client for street information
Requirements
- Python 3.12 or higher
- Dependencies are automatically installed with the package
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
streetmanager-0.1.4.tar.gz
(635.2 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 streetmanager-0.1.4.tar.gz.
File metadata
- Download URL: streetmanager-0.1.4.tar.gz
- Upload date:
- Size: 635.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21fe59ea63c9e419e42b4ef022406fcb5ec888d1325fb07523d2af4558f7299c
|
|
| MD5 |
c71a08c24940845d9c45521e40ad0ac6
|
|
| BLAKE2b-256 |
de6135e43234c224b5f965a8b008de5576e64e9ab5314b78e1a346e60d36a446
|
File details
Details for the file streetmanager-0.1.4-py3-none-any.whl.
File metadata
- Download URL: streetmanager-0.1.4-py3-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b288580bdae1b40a9dea5583355e5380b7d9c9686634b15121c71fb4d9001cf3
|
|
| MD5 |
491902cb9710e03411f1739753b7241f
|
|
| BLAKE2b-256 |
3d0817a2e6c122af71e72a3a764eece176e8f3efc5b7afa38f133195d9c3b8fb
|