Overview
The parking API for off-street parking, showing parking lots and parking structures.
Usage
The v3 lots queries are based on a circle defined by a point (lat, lon) and a radius (meters).
Entry Datetime and Duration
The entrytime
and duration
parameters not only change the rates
but also the occupancy
prediction. Selecting an entrytime in the past or more than a few hours in the future is not supported.
Example /lots request
# obtain token from UAS and store in $token variable
# the point is represented as lat|lon
curl "https://api.parkme.com/lots?accesstoken=$token&point=34.017395736527334|-118.49404245615005&radius=75&locale=en-US"
API versions and extensions
When the API changes in a substantial way, we will bump the version number according to ‘semantic versioning’ standards and notify our customers. We expect our client software to be ‘open to extension’, that is, fields can be added to the API output without changing the version number. Client software should ignore any fields that are not described in this documentation or that were not present at the time of their implementation.
/lots/v3
GET List parking lots in a given area
Parameters
= requiredName | Located In | Type | Description |
---|---|---|---|
accesstoken | Query | String | A valid access token provided from the GET appToken API response. Alternatively, the accesstoken can be added to the request header instead of a url parameter using format 'Authorization: Bearer xxxx.xxx.xxxx'. |
point | Query | String | Used to select a region based on a point and radius. If used, other Location parameters cannot be used, eg: < lat >|< long > .
|
radius | Query | Float | Used to select a region based on a point and radius in meters. If 'radius' is used, 'point' must also be used and 'box' / 'geoid' cannot be used." |
entry_time | Query | String | yyyy-mm-ddTHH:MM format, add a Z for UTC, otherwise treated locally |
duration | Query | Integer | Duration in minutes. Can be pipe delimited for multiple durations, eg: 60|120|720|1400 |
limit | Query | Integer | Maximum number of elements to return from a large collection (for pagination). |
locale | Query | String | The locale as defined by ISO 15897, default: en-US |