ParkWhiz API: Parking Location
Location information and pricing options. The JSON API uses a URL structure similar to the main ParkWhiz website. For example, the URL to return JSON data for 601 Stadium Dr would be http://api.parkwhiz.com/parking/arlington/601-stadium-dr/?start=1297027800&end=1297047600
Request:
http://api.parkwhiz.com/[location_url]/ GET
Parameters:
Required parameters are bold.
- key string
- ParkWhiz public API key
- start integer
- Start time of the parking to reservation, expressed as a Unix timestamp
- end integer
- End time of the parking to reservation, expressed as a Unix timestamp
Example call:
http://api.parkwhiz.com/p/arlington-parking/601-stadium-dr/?start=1297027800&end=1297047600&key=62d882d8cfe5680004fa849286b6ce20
Returns:
- location_name
- The display name of the parking location
- location_id
- ID number of the parking location
- parkwhiz_url
- URL of this location on ParkWhiz.com
- 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
- directions
- Driving directions to the parking location, HTML formatted
- description
- A description of the parking location, HTML formatted
- recommendations
- Number of ParkWhiz customers who gave this location positive feedback
- listings
- Pricing information for this parking location and times
- listing_id
- ID of the parking listing
- www_reserve_url
- URL to reserve a spot at ParkWhiz.com
- start
- Start time of the quoted parking, expressed as a Unix timestamp
- end
- End time of the quoted parking, expressed as a Unix timestamp
- price
- The cost to reserve this parking
- available_spots
- The number of spots available to reserve
- notes
- Instructions for drivers using this parking, HTML formatted
- valet
- This parking is valet parking (boolean 1 or 0)
- indoor
- This parking is covered (boolean 1 or 0)
- shuttle
- Shuttle service is offered to the designated venue (boolean 1 or 0)
- tailgate
- Tailgating is permitted (boolean 1 or 0)
- security
- On-site security personnel (boolean 1 or 0)
- restroom
- Restrooms are available on-site (boolean 1 or 0)
- attended
- An attendant is on-site (boolean 1 or 0)
- rv
- This parking is for Recreational Vehicles (boolean 1 or 0)
- obstructed
- This parking may be obstructed during the duration of the reservation (boolean 1 or 0)
- venue_name
- The venue served by this parking, if any
- event_name
- The event served by this parking, if any
Example response:
{
"location_name":"Cowboys Gameday Parking",
"location_id":2429,
"parkwhiz_url":"http:\/\/www.parkwhiz.com\/p\/arlington-parking\/601-stadium-dr\/?start=1297027800&end=1297047600",
"address":"601 Stadium Dr",
"city":"Arlington",
"state":"TX",
"zip":"76011",
"type":"business",
"timezone":"America\/Chicago",
"lat":32.7427399,
"lng":-97.083716,
"eticket":1,
"directions":"From 360: West on Division...",
"description":"This is a private lot located at Stadium Drive and Division that is...",
"recommendations":63,
"listings": [
{
"id":"5412",
"www_reserve_url":"http:\/\/www.parkwhiz.com\/reserve\/?id=5412",
"start":1297027800,
"end":1297047600,
"price":110.00,
"available_spots":10,
"notes":"Just north of the Yellow building located right at...",
"valet":0,
"indoor":0,
"shuttle":1,
"tailgate":1,
"security":1,
"restroom":1,
"attended":1,
"rv":0,
"obstructed":0,
"venue_name":"Cowboys Stadium",
"event_name":"Super Bowl XLV"
},
...
]
}
