Page Properties | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
...
Name | Description | Value Type | Required |
---|---|---|---|
name | Exact name of the venue | String | Optional |
popularity_score | Venue's popularity rating | decimal | Optional |
disabled_at | Date/time venue was disabled | Date | Optional |
deleted_at | Date/time venue was deleted | Date | Optional |
updated_at | Date/time venue was updated | Date | Optional |
first_letter | Filters venues by the first letter passed | Char | Optional |
lat | Latitude of venue (requires corresponding lon) | Decimal | Optional |
lon | Longitude of venue (requires corresponding lat) | Decimal | Optional |
ip | Infer lat and lon by location of IP Address | String | Optional |
postal_code | Infer lat and lon by location of postal code | String | Optional |
city_state | Infer lat and lon by location of city and state | String | Optional |
within | Radius from lat and lon to search (default 15) | Integer | Optional |
order_by | Pass in the parameter that you want to order by and the sorting order (Ex. :order_by => "venues.popularity_score DESC") | String | Optional |
Examples
Request | Response | |||||||
---|---|---|---|---|---|---|---|---|
/v9/venues?lat=40.7281&lon=-74.0781&within=1 | ||||||||
|
|