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.
- key string
- ParkWhiz public API key
Required parameters are bold.
- key string
- ParkWhiz public API key
Example call:
http://api.parkwhiz.com/cowboys-stadium-parking/brothers-of-the-sun-tour-with-kenny-chesney-and-tim-mcgraw-47906/?key=62d882d8cfe5680004fa849286b6ce20
Returns:
- venue_name
- Name of the venue that is hosting the event
- venue_id
- ID of the venue that is hosting the event
- event_name
- Name of the event; if a sporting event, the name of the teams playing
- start
- Start time of the event, expressed as a Unix timestamp
- end
- End time of the event, expressed as a Unix timestamp
- event_id
- ID of the event
- parkwhiz_url
- URL of the event in human-readable format on ParkWhiz.com
- lat
- Latitude of the venue hosting the event
- lng
- Longitude of the venue hosting the event
- min_price
- Minimum price of the returned search results. This field is null of there are no search results.
- min_distance
- Minimum distance in feet of the returned search results. This field is null of there are no search results.
- parking_listings
- A list of parking listings that matched the search parameters. The default sorting orders the results in ascending order by distance. Each entry has the following format:
- location_name
- The display name of the parking location
- location_id
- ID number of the parking location
- listing_id
- ID number of the parking listing
- parkwhiz_url
- URL of this location on ParkWhiz.com
- api_url
- URL to retreive more info about this location via the JSON API
- address
- Street address of the parking location
- city
- City of the parking location
- state
- US state or Canadian province of the parking location
- zip
- Zip code of the parking location
- lat
- Latitude of the parking location
- lng
- Longitude of the parking location
- eticket
- Boolean (1 or 0) whether the location accepts mobile parking passes
- distance
- Distance in feet from the seary query destination
- recommendations
- Number of ParkWhiz customers who gave this location positive feedback
- available_spots
- Number of parking spaces available for reservation
- price
- Price to reserve a parking space for this location and time
- www_reserve_url
- URL to reserve a spot of ParkWhiz.com
Example response:
{
"venue_name":"Cowboys Stadium",
"venue_id":"293",
"event_name":"Brothers of the Sun Tour with Kenny Chesney and Tim McGraw",
"event_id":"47906",
"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",
"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",
"reservation":"1",
"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",
"reservation":"1",
"recommendations":"32",
"available_spots":10,
"price":"44.00",
"www_reserve_url":"http:\/\/www.parkwhiz.com\/reserve\/?id=5605"
},
...
]
}
