ParkWhiz API: Venue Search
Find ParkWhiz venues by name or latitude/longitude pair.
Request:
http://api.parkwhiz.com/venue/search/ GET
Parameters:
Required parameters are bold.
- name string
- Name of the venue
- lat float
- Latitude
- lng float
- Longitude
- key string
- ParkWhiz public API key
A latitude/longitude pair can be used in place of name; only one or the other is required.
Required parameters are bold.
- name string
- Name of the venue
- lat float
- Latitude
- lng float
- Longitude
- key string
- ParkWhiz public API key
A latitude/longitude pair can be used in place of name; only one or the other is required.
Example call:
http://api.parkwhiz.com/venue/search/?lat=42.082089&lng=-71.2796045&key=62d882d8cfe5680004fa849286b6ce20
Returns (array):
- name
- Name of the venue
- address
- Street address of the venue
- city
- City of the venue
- state
- State of the venue
- zip
- Zip code of the venue
- id
- ParkWhiz ID of the venue
- url_fragment
- URL of venue on ParkWhiz. For example, http://api.parkwhiz.com[url_fragment]
- distance
- Distance in feet from the lat/lng pair queried; null if no lat/lng pair query provided.
- relevancy
- Relevancy score of name search; higher is better. Null if no name query provided.
Example response:
[
{
"name": "Gillette Stadium",
"address": "60 Washington St.",
"city": "Foxboro",
"state": "MA",
"zip": "02035",
"id": 63,
"url_fragment": "/gillette-stadium-parking/",
"distance": 5253,
"relevancy": null
},
...
]
