Struct foursquare::venue::RecommendationsOptionsBuilder [] [src]

pub struct RecommendationsOptionsBuilder { /* fields omitted */ }

Methods

impl RecommendationsOptionsBuilder
[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, breakfast, brunch, lunch, coffee, dinner, dessert, drinks, shopping, fun, sights. Specifies the top-level “intent” for a search.

[src]

One of: 1, 2, 3, 4. Only return venues that match the specified price(s), 1 being “$” and 4 being “”. Supports multiple values.

[src]

A search term to be applied against venue names.

[src]

Return values that match the specified categories, after the query parameter is applied.

[src]

Return values that match the specified categories when there is no query parameter provided.

[src]

Number of results to return, up to 50.

[src]

Used to page through results, up to 50.

[src]

Specifies what features (takes credit cards, offers delivery, etc.) that the returned venues should have. The following param values correspond to various features this endpoint supports. 0 Takes credit cards. 1 Takes reservations. 2 Offers delivery. 3 Offers take out. 4 Has Wi-Fi. 5 Has outdoor seating. 7 User has liked this venue. 8 Recently opened. 9 Not part of a chain. 10 Takes online reservations. 13 Dog-friendly. 14 Has parking. 15 Has a happy hour.

[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]

If you make an authenticated request to this endpoint, you can make results more personal based on the user’s experiences on Swarm and Foursquare (e.g., only return venues that the user has saved to a list or ones that the user has liked before). The following table documents the currently-available personalizations.

[src]

1–7 for Monday–Sunday. Only return results that are open on this day.

[src]

Only return results that are open at this time. HH in 24-hr format.

[src]

[src]

Builds a new RecommendationsOptions.

Errors

If a required field has not been initialized.

Trait Implementations

impl Default for RecommendationsOptionsBuilder
[src]

[src]

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

impl Clone for RecommendationsOptionsBuilder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more