ParkWhiz API: Event
Event information and parking options. The JSON API uses a URL structure similar to the main ParkWhiz website.
Request
http://api.parkwhiz.com/[event_url]/ GET
Parameters
Required parameters are bold.
| Field |
Type |
Desc |
| key |
string |
ParkWhiz public API key |
| start |
integer |
Start time of the desired parking, expressed as a Unix Timestamp |
| end |
integer |
End time of the desired parking, expressed as a Unix Timestamp |
| sort |
string |
One of: rating, distance, price. Defaults to rating. |
| price |
float |
Only return locations with prices lower than the passed value |
| shuttle |
1 or 0 |
Only return locations with shuttle service |
| eticket |
1 or 0 |
Only return locations that accept Mobile Passes |
| perk |
1 or 0 |
Only return locations that offer ParkWhiz Perks |
| valet |
1 or 0 |
Only return locations that offer valet service |
| indoor |
1 or 0 |
Only return indoor/covered locations |
| handicap |
1 or 0 |
Only return handicap accessible locations |
| restroom |
1 or 0 |
Only return locations that provide a restroom to customers |
| security |
1 or 0 |
Only return locations with on-site security |
| tailgate |
1 or 0 |
Only return locations that allow tailgating |
| rv |
1 or 0 |
Only return locations that allow RV parking |
| unobstructed |
1 or 0 |
Only return locations with unobstructed parking spots (vehicle won't be blocked in) |
| attended |
1 or 0 |
Only return locations with an on-site parking attendant |
Example call
http://api.parkwhiz.com/superdome-parking/carolina-panthers-at-new-orleans-saints-59442/?key=62d882d8cfe5680004fa849286b6ce20
Returns
| Field |
Type |
Description |
| event_name |
string |
Name of the event |
| start |
integer |
Start time of the event in the local timezone, expressed as a Unix timestamp |
| end |
integer |
End time of the event in the local timezone, expressed as a Unix timestamp |
| parkwhiz_url |
string |
URL of the event in human-readable format on ParkWhiz.com |
| venue_name |
string |
Name of the venue that is hosting the event |
| lat |
float |
Latitude of the venue hosting the event |
| lng |
float |
Longitude of the venue hosting the event |
| min_price |
float |
Minimum price of the returned search results. This field is null of there are no search results. |
| max_price |
float |
Maximum price of the returned search results. This field is null of there are no search results. |
| min_distance |
integer |
Minimum distance in feet of the returned search results. This field is null of there are no search results. |
| max_distance |
integer |
Maximum distance in feet of the returned search results. This field is null of there are no search results. |
| amenities |
object |
A hash of how many of the returned locations offer certain amenities |
| parking_listings |
array |
A list of parking listings that matched the search parameters. |
parking_listings Object Parameters
| Field |
Type |
Description |
| location_name |
string |
The display name of the parking location |
| location_id |
integer |
ID number of the parking location |
| listing_id |
integer |
ID number of the parking listing |
| parkwhiz_url |
string |
URL of this location on ParkWhiz.com |
| api_url |
string |
URL to retreive more info about this location via the JSON API |
| address |
string |
Street address of the parking location |
| city |
string |
City of the parking location |
| state |
string |
US state or Canadian province of the parking location |
| zip |
string |
Zip code of the parking location |
| lat |
float |
Latitude of the parking location |
| lng |
float |
Longitude of the parking location |
| eticket |
bool |
Whether the location accepts mobile parking passes |
| distance |
integer |
Distance in feet from the query destination |
| recommendations |
integer |
Number of ParkWhiz customers who gave this location positive feedback |
| available_spots |
integer |
Number of parking spaces available for reservation |
| price |
float |
Price to reserve a parking space for this location and time |
| www_reserve_url |
string |
URL to reserve a spot of ParkWhiz.com |
Example Response
{
"event_name":"Brothers of the Sun Tour with Kenny Chesney and Tim McGraw",
"parkwhiz_url":"http:\/\/http://www.parkwhiz.com\/cowboys-stadium-parking\/brothers-of-the-sun-tour-with-kenny-chesney-and-tim-mcgraw-47906\/",
"start": 1297029600,
"end": 1297045800,
"venue_name": "Cowboys Stadium",
"lat": 41.8857256,
"lng": -87.6369590,
"min_price": 27.50,
"min_distance": 111,
"parking_listings": [
{
"location_name": "Cowboys Gameday Parking",
"location_id": 2429,
"listing_id": 5412,
"parkwhiz_url": "http:\/\/www.parkwhiz.com\/p\/arlington-parking\/601-stadium-dr\/?start=1297027800&end=1297047600",
"api_url": "http:\/\/api.parkwhiz.com\/p\/arlington-parking\/601-stadium-dr\/?start=1297027800&end=1297047600",
"address": "601 Stadium Dr",
"city": "Arlington",
"state": "TX",
"zip": "76011",
"lat": 32.7427399,
"lng": -97.083716,
"eticket": 1,
"distance": 2443,
"recommendations": 63,
"available_spots": 10,
"price": 110.00,
"www_reserve_url": "http:\/\/www.parkwhiz.com\/reserve\/?id=5412"
},{
"location_name": "Half Mile Randol Mill Parking",
"location_id": 2442,
"listing_id": 5605,
"parkwhiz_url": "http:\/\/www.parkwhiz.com\/p\/arlington-parking\/101-west-randol-mill\/?start=1297027800&end=1297047600",
"api_url": "http:\/\/api.parkwhiz.com\/p\/arlington-parking\/101-west-randol-mill\/?start=1297027800&end=1297047600",
"address": "101 West Randol Mill",
"city": "Arlington",
"state": "TX",
"zip": "76011",
"lat": 32.7502910261246,
"lng": -97.1071028709412,
"eitcket": 0,
"distance": 3592,
"recommendations": 32,
"available_spots": 10,
"price": 44.00,
"www_reserve_url": "http:\/\/www.parkwhiz.com\/reserve\/?id=5605"
},
...
]
}