-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtripadvisor.json
More file actions
133 lines (133 loc) · 6 KB
/
Copy pathtripadvisor.json
File metadata and controls
133 lines (133 loc) · 6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"engine": "tripadvisor",
"params": {
"q": {
"required": true,
"description": "Parameter defines the query you want to search. You can use anything that you would use in a regular Tripadvisor search.",
"group": "search_query"
},
"lat": {
"type": "number",
"description": "Defines a GPS latitude for the search origin. This parameter might not be supported for all queries.",
"group": "geographic_location"
},
"lon": {
"type": "number",
"description": "Defines a GPS longitude for the search origin. This parameter might not be supported for all queries.",
"group": "geographic_location"
},
"tripadvisor_domain": {
"type": "select",
"options": [
"www.tripadvisor.com",
"ar.tripadvisor.com",
"www.tripadvisor.com.ar",
"www.tripadvisor.com.au",
"www.tripadvisor.at",
"www.tripadvisor.be",
"fr.tripadvisor.be",
"www.tripadvisor.com.br",
"www.tripadvisor.ca",
"fr.tripadvisor.ca",
"www.tripadvisor.cl",
"cn.tripadvisor.com",
"www.tripadvisor.co",
"www.tripadvisor.com.pe",
"www.tripadvisor.dk",
"www.tripadvisor.com.eg",
"www.tripadvisor.fr",
"www.tripadvisor.de",
"www.tripadvisor.com.gr",
"www.tripadvisor.com.hk",
"en.tripadvisor.com.hk",
"www.tripadvisor.in",
"www.tripadvisor.co.id",
"www.tripadvisor.ie",
"www.tripadvisor.co.il",
"www.tripadvisor.it",
"www.tripadvisor.jp",
"www.tripadvisor.co.kr",
"www.tripadvisor.com.my",
"www.tripadvisor.com.mx",
"www.tripadvisor.nl",
"www.tripadvisor.co.nz",
"no.tripadvisor.com",
"www.tripadvisor.com.ph",
"www.tripadvisor.pt",
"www.tripadvisor.ru",
"www.tripadvisor.com.sg",
"www.tripadvisor.co.za",
"www.tripadvisor.es",
"www.tripadvisor.se",
"fr.tripadvisor.ch",
"www.tripadvisor.ch",
"it.tripadvisor.ch",
"www.tripadvisor.com.tw",
"th.tripadvisor.com",
"www.tripadvisor.com.tr",
"www.tripadvisor.co.uk",
"www.tripadvisor.com.ve",
"www.tripadvisor.com.vn"
],
"description": "Parameter defines the Tripadvisor domain to use. It defaults to `tripadvisor.com`. Head to the Tripadvisor domains page for a full list of supported Tripadvisor domains.",
"group": "localization"
},
"ssrc": {
"type": "select",
"options": [
"a",
"r",
"A",
"h",
"g",
"v",
"f"
],
"description": "This parameter specifies the search filter you want to use for the Tripadvisor search. Available options: `a` - All Results `r` - Restaurants `A` - Things to Do `h` - Hotels `g` - Destinations `v` - Vacation Rentals `f` - Forums NOTE: Tripadvisor has discontinued support for Vacation Rentals. As a result, using `ssrc=v` may return incomplete results or no results at all.",
"group": "advanced_filters"
},
"offset": {
"type": "number",
"description": "Parameter defines the result offset. It skips the given number of results. It's used for pagination. (e.g., `0` (default) is the first page of results, `30` is the 2nd page of results, `60` is the 3rd page of results, etc.). This parameter might not be supported for all queries.",
"group": "pagination"
},
"limit": {
"type": "number",
"description": "Parameter defines the maximum number of results to return. (e.g., `30` (default) returns 30 results, `60` returns 60 results, and `100` returns 100 results).",
"group": "pagination"
}
},
"common_params": {
"engine": {
"required": true,
"description": "Set parameter to `tripadvisor` to use the Tripadvisor API engine.",
"group": "serpapi_parameters"
},
"no_cache": {
"type": "checkbox",
"description": "Parameter will force SerpApi to fetch the Tripadvisor results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month. It can be set to `false` (default) to allow results from the cache, or `true` to disallow results from the cache. no\\_cache and async parameters should not be used together.",
"group": "serpapi_parameters"
},
"async": {
"description": "Parameter defines the way you want to submit your search to SerpApi. It can be set to `false` (default) to open an HTTP connection and keep it open until you got your search results, or `true` to just submit your search to SerpApi and retrieve them later. In this case, you'll need to use our Searches Archive API to retrieve your results. async and no\\_cache parameters should not be used together. async should not be used on accounts with Ludicrous Speed enabled.",
"group": "serpapi_parameters"
},
"zero_trace": {
"description": "Enterprise only. Parameter enables ZeroTrace mode. It can be set to `false` (default) or `true`. Enable this mode to skip storing search parameters, search files, and search metadata on our servers. This may make debugging more difficult.",
"group": "serpapi_parameters"
},
"api_key": {
"required": true,
"description": "Parameter defines the SerpApi private key to use.",
"group": "serpapi_parameters"
},
"output": {
"description": "Parameter defines the format of the result. It can be set to `json` (default) to get a structured JSON of the results, `html` to get the raw HTML retrieved, or `md` to get a markdown-formatted version optimized for LLMs and AI agents.",
"group": "serpapi_parameters"
},
"json_restrictor": {
"description": "Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.",
"group": "serpapi_parameters"
}
}
}