# Tripadvisor

> Find Tripadvisor places and read location details, reviews and photos.

App · 5 actions. Web page: https://docs.lodol.com/docs/integrations/tripadvisor

## Actions

### Get location

Get location.

**Inputs**

- Location id (`location_id`, text, required): Location id.
- Language (`language`, text): Language. One of: `en`, `en-AU`, `en-CA`, `en-GB`, `de`, `fr`, `es`, `it`, `pt`, `pt-BR`, and 20 more.

**Outputs**: Response.

- `data` (object): Data.
- `has_more` (true/false): Whether more records are available.
- `next_cursor` (text): Continuation token, if another page exists.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### List photos

List photos.

**Inputs**

- Location id (`location_id`, text, required): Location id.
- Language (`language`, text): Language. One of: `en`, `en-AU`, `en-CA`, `en-GB`, `de`, `fr`, `es`, `it`, `pt`, `pt-BR`, and 20 more.

**Outputs**: Response.

- `data` (object): Data.
- `has_more` (true/false): Whether more records are available.
- `next_cursor` (text): Continuation token, if another page exists.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### List reviews

List reviews.

**Inputs**

- Location id (`location_id`, text, required): Location id.
- Language (`language`, text): The reviews' language, or primary for each review's own. One of: `en`, `de`, `fr`, `es`, `it`, `pt`, `ja`, `zh`, `ko`, `nl`, and 16 more.

**Outputs**: Response.

- `data` (object): Data.
- `has_more` (true/false): Whether more records are available.
- `next_cursor` (text): Continuation token, if another page exists.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Search locations

Search locations.

**Inputs**

- Search query (`search_query`, text, required): What to search for: a place's name (1 to 500 characters).
- Language (`language`, text): The language for names and descriptions. One of: `en`, `en-AU`, `en-CA`, `en-GB`, `de`, `fr`, `es`, `it`, `pt`, `pt-BR`, and 20 more.
- Category (`category`, text): Only hotels, attractions or restaurants. One of: `HOTEL`, `ATTRACTION`, `RESTAURANT`.

**Outputs**: Response.

- `data` (object): Data.
- `has_more` (true/false): Whether more records are available.
- `next_cursor` (text): Continuation token, if another page exists.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```

### Search nearby

Search nearby.

**Inputs**

- Language (`language`, text): The language for names and descriptions. One of: `en`, `en-AU`, `en-CA`, `en-GB`, `de`, `fr`, `es`, `it`, `pt`, `pt-BR`, and 20 more.
- Category (`category`, text): Only hotels, attractions or restaurants. One of: `HOTEL`, `ATTRACTION`, `RESTAURANT`.
- Lat long (`lat_long`, text, required): Latitude and longitude separated by a comma, for example 42.3455,-71.1074.
- Radius (`radius`, number): How far to look: up to 8 km or 5 miles. At least 0.
- Radius unit (`radius_unit`, text): Kilometres or miles (miles when left empty). One of: `KM`, `MI`.

**Outputs**: Response.

- `data` (object): Data.
- `has_more` (true/false): Whether more records are available.
- `next_cursor` (text): Continuation token, if another page exists.

**Example output**

```json
{
  "data": {},
  "has_more": false,
  "next_cursor": null
}
```
