Arguments

A location name to use in filtering the search results. Locations in the form "San Diego", "San Diego, TX", "London, United Kingdom", and "Calgary, Alberta, Canada" are accepted, as are postal codes ("92122"). Full addresses ("1 Infinite Loop, Cupertino, CA") and common geocoordinate formats ("32.746682, -117.162741") are also accepted, but the "within" parameter is recommended in order to set a search radius. (optional)

If within is set and the "location" parameter resolves to a specific geolocation, the search will be restricted to the specified radius. If the "location" parameter does not resolve to a specific location, this parameter is ignored. (optional)

units string

One of "mi" or "km", the units of the "within" parameter. Defaults to "mi".(optional)

sort_order string

One of 'popularity', 'date', 'title', 'relevance', or 'venue_name'. Default is 'date'.
(optional)

sort_direction string

One of 'ascending' or 'descending'. Default varies by sort_order.
(optional)

page_size integer

The desired number of results per page. Default: 50, Maximum: 50.(optional)