Struct foursquare::venue::ExploreOptionsBuilder [] [src]

pub struct ExploreOptionsBuilder { /* fields omitted */ }

Builder for ExploreOptions.

Methods

impl ExploreOptionsBuilder
[src]

[src]

required unless near is provided. Latitude and longitude of the user’s location.

[src]

required unless ll is provided. A string naming a place in the world. If the near string is not geocodable, returns a failed_geocode error. Otherwise, searches within the bounds of the geocode and adds a geocode object to the response.

[src]

Accuracy of latitude and longitude, in meters.

[src]

Altitude of the user’s location, in meters.

[src]

Accuracy of the user’s altitude, in meters.

[src]

Radius to search within, in meters. If radius is not specified, a suggested radius will be used based on the density of venues in the area. The maximum supported radius is currently 100,000 meters.

[src]

One of food, drinks, coffee, shops, arts, outdoors, sights, trending, nextVenues (venues frequently visited after a given venue), or topPicks (a mix of recommendations generated without a query from the user). Choosing one of these limits results to venues with the specified category or property.

[src]

A term to be searched against a venue’s tips, category, etc. The query parameter has no effect when a section is specified.

[src]

Number of results to return, up to 50.

[src]

Used to page through results, up to 50.

[src]

Pass new or old to limit results to places the acting user hasn’t been or has been, respectively. Omitting this parameter returns a mixture of old and new venues.

[src]

Pass visited or notvisited to limit results to places the acting user’s friends have or haven’t been, respectively. Omitting this parameter returns a mixture of venues to which the user’s friends have or haven’t been.

[src]

Pass any to retrieve results for any time of day. Omitting this parameter returns results targeted to the current time of day.

[src]

Pass any to retrieve results for any day of the week. Omitting this parameter returns results targeted to the current day of the week.

[src]

Boolean flag to include a photo in the response for each venue, if one is available. Default is 0 (no photos). Photos are returned as part of the venue JSON object.

[src]

A venue ID to use in combination with the intent=nextVenues parameter, which returns venues users often visit after a given venue. If intent=nextVenues is specified but lastVenue is not, the user’s last check-in will be used if it is within 2 hours. If the user has not checked in within the last 2 hours, no results will be returned.

[src]

Boolean flag to only include venues that are open now. This prefers official provider hours but falls back to popular check-in hours.

[src]

Boolean flag to sort the results by distance instead of relevance.

[src]

Comma separated list of price points. Currently the valid range of price points are [1,2,3,4], 1 being the least expensive, 4 being the most expensive. For food venues, in the United States, 1 is < $10 an entree, 2 is $10-$20 an entree, 3 is $20-$30 an entree, 4 is > $30 an entree.

[src]

Boolean flag to only include venues that the user has saved on their To-Do list or to another list.

[src]

[src]

Builds a new ExploreOptions.

Errors

If a required field has not been initialized.

Trait Implementations

impl Default for ExploreOptionsBuilder
[src]

[src]

Returns the "default value" for a type. Read more

impl Clone for ExploreOptionsBuilder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more