Marketplace
latest
false
Banner background image
Marketplace User Guide
Last updated 16 avr. 2024

Nearby Search

A Nearby Search lets you search for places within a specified area. You can refine your search request by supplying keywords or specifying the type of place you are searching for.

Properties

Input

  • Keyword - A term to be matched against all content that Google has indexed for this place, including but not limited to name, type, and address, as well as customer reviews and other third-party content.

    Data Type: System.String

Example: "cruise"

  • Location: The latitude/longitude around which to retrieve place information. This must be specified as latitude,longitude.

    Data Type: System.String

Example: “-33.8670522,151.1957362”

  • Name: A term to be matched against all content that Google has indexed for this place. Equivalent to keyword. The name field is no longer restricted to place names. Values in this field are combined with values in the keyword field and passed as part of the same search string. We recommend using only the keyword parameter for all search terms.

    Data Type: System.String

Example: “UiPath”

  • Language: The language code, indicating in which language the results should be returned, if possible. See the list of supported languages and their codes.

    Data Type: System.String

Example: “zh” for Chinese

  • Open Now: Returns only those places that are open for business at the time the query is sent. Places that do not specify opening hours in the Google Places database will not be returned if you include this parameter in your query.

    Data Type: System.String

Example: “true” - if you want to filter only the places which are open now else leave it empty.

  • Page Token: Returns the next 20 results from a previously run search. Setting a pagetoken parameter will execute a search with the same parameters used previously — all parameters other than pagetoken will be ignored.

    Data Type: System.String

Example: It will be a random string. You will get this when you do a place search and results are spanning more pages than the response can return at a time.

  • Price Range: Restricts results to only those places within the specified range. Valid values range between 0 (most affordable) to 4 (most expensive), inclusive. The exact amount indicated by a specific value will vary from region to region.

    Data Type: System.String

Example: “0,3”

  • Radius: Defines the distance (in meters) within which to return place results. The maximum allowed radius is 50 000 meters. Note that radius must not be included if rankby=distance.

    Data Type: System.String

Example: “500”

  • Rank By: Specifies the order in which results are listed. Note that rankby must not be included if radius is specified. Possible values are prominence(default) or distance

    Data Type: System.String

Example: “distance”

  • Type: Restricts the results to places matching the specified type. Only one type may be specified (if more than one type is provided, all types following the first entry are ignored). See the list of supported types.

    Data Type: System.String

Example: “jewelry_store”

Output

  • JSON: The output in the form of a JSON string.

    Data Type: System.String
  • Places: The list of nearby places.

    Data Type: UiPathTeam.GoogleMaps.Model.NearbySearch.NearbySearchResponse

Common

  • DisplayName - The display name of the activity.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

    For More info follow the link.

  • Properties
  • Input
  • Output
  • Common
  • Misc

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.