Welcome To Vadepark!
Vadepark is a SAAS service that utilizes cameras across the country to capture realtime parking data. This python package is a wrapper for our API to help you get our data into your system as soon as possible.
Installation
Use the package manager pip to install vade-api.
pip install vade-api
Quickstart
import vade_api_src as vade
realtime = vade.VadeRealtimeAPI("API_KEY", vade.ProductionLevel.BETA)
#A list of zone_id's can be recived by emailing our support email
zone_id = "dafd0c37-b7bb-4643-a23d-c4f1dc21e875"
zone_spots = realtime.get_zone_occupancy(zone_id=zone_id)
for spot in zone_spots:
print("spot: {} in zone is occupied: {}".format(spot.uuid, spot.occupied))
# spot: 8ab1fe79-dfd0-41b5-aa04-f2d42a1186c0 in zone is occupied: True
# spot: 12eca230-23da-4145-8caf-3704798f6cb1 in zone is occupied: False
# ...
geo_spots = realtime.get_geo_occupancy(latitude=-78.685396, longitude=35.779223, radius=1000)
for spot in geo_spots:
print("spot: {} in geo location is occupied: {}".format(spot.uuid, spot.occupied))
# spot: c54f2b8d-ca01-421f-ab94-ea56ee4853ee in geo location is occupied: True
# spot: cf7fce25-7bb7-4b3d-8bfe-0154cac4e5cb in geo location is occupied: False
single_spot = realtime.get_spot_occupancy(spot_id=geo_spots[0].uuid)
print("spot: {} is occupied: {}".format(single_spot.uuid, single_spot.occupied))
# spot: c54f2b8d-ca01-421f-ab94-ea56ee4853ee is occupied: None
Parking Spot Structure
class VadeSpotRealtime:
uuid: str # database identifier for spot
name: str # easy to read name for spot
mdid: str # secondary easy to read name for spot
location: GeoPoint # geo-location for the parking spot
occupancy_threshold: float # the raw occupancy confidence threshold
raw_score: float # the raw occupancy confidence score
last_updated: datetime # the last time that parking spot was updated by our system
occupied: bool # whether or not the parking spot is occupied
type: VadeSpotType # "standard" or "curbspace"
# standard - your average single car parking space
# curbspace - a section of curb. We will return a list of vehicles parked on that section of curb if occupied
curbspace_output: [CurbspaceOccupancy] # the list of vehicles within a definied curbspace
License
Metadata
Release files for vade-api 0.9.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vade_api-0.9.3-py3-none-any.whl | Python 3 | none | any | Details for vade_api-0.9.3-py3-none-any.whl |
Release files / vade_api-0.9.3-py3-none-any.whl
| Download URL | vade_api-0.9.3-py3-none-any.whl |
|---|---|
| Size | 128.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d1276a388df84037ed877e1262d94fa0b30e5fc9e737eb810d0f4e5c52c326a9
|
|
BLAKE2b-256 checksum How to use checksums |
c39ae63792341443ed5712c7d117ae41679af187b95ad1ab7177e803218d0001
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.2
|
Security for vade-api 0.9.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.