@agentrhq/webcmd 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli-manifest.json +755 -174
- package/clis/_shared/site-auth.js +0 -1
- package/clis/_shared/site-auth.test.js +0 -1
- package/clis/amazon-in/checkout.js +0 -1
- package/clis/blinkit/checkout.js +0 -1
- package/clis/blinkit/place-order.js +0 -1
- package/clis/chatgpt/model.js +2 -2
- package/clis/chatgpt/model.test.js +7 -1
- package/clis/chatgpt/utils.js +8 -0
- package/clis/chatgpt/utils.test.js +92 -1
- package/clis/district/checkout.js +0 -1
- package/clis/district/seats.js +0 -1
- package/clis/district/set-location.js +0 -1
- package/clis/district/showtimes.js +0 -1
- package/clis/google/images.js +456 -0
- package/clis/google/images.test.js +375 -0
- package/clis/instagram/user.js +5 -13
- package/clis/instagram/user.test.js +66 -0
- package/clis/mercury/check-login.js +0 -1
- package/clis/mercury/reimbursement-draft.js +0 -1
- package/clis/practo/book-confirm.js +0 -1
- package/clis/practo/cancel.js +0 -1
- package/clis/trip/attraction.js +74 -0
- package/clis/trip/car.js +74 -0
- package/clis/trip/deals.js +61 -0
- package/clis/trip/flight-round.js +88 -0
- package/clis/trip/flight.js +83 -0
- package/clis/trip/hotel-search.js +80 -0
- package/clis/trip/hotel.js +54 -0
- package/clis/trip/package.js +93 -0
- package/clis/trip/search.js +43 -0
- package/clis/trip/tour.js +84 -0
- package/clis/trip/train.js +76 -0
- package/clis/trip/transfer.js +82 -0
- package/clis/trip/trip.test.js +1420 -0
- package/clis/trip/utils.js +911 -0
- package/dist/src/build-manifest.js +0 -1
- package/dist/src/build-manifest.test.js +4 -0
- package/dist/src/cli.js +7 -7
- package/dist/src/cli.test.js +26 -10
- package/dist/src/command-presentation.js +1 -1
- package/dist/src/command-presentation.test.js +3 -0
- package/dist/src/command-surface.js +1 -1
- package/dist/src/command-surface.test.js +4 -0
- package/dist/src/commands/auth.js +0 -2
- package/dist/src/commands/auth.test.js +0 -2
- package/dist/src/discovery.js +0 -1
- package/dist/src/execution.js +3 -3
- package/dist/src/execution.test.js +68 -15
- package/dist/src/hosted/browser-args.js +2 -2
- package/dist/src/hosted/browser-args.test.js +10 -0
- package/dist/src/hosted/client.js +2 -2
- package/dist/src/manifest-types.d.ts +0 -2
- package/dist/src/registry.d.ts +0 -2
- package/dist/src/registry.js +0 -1
- package/hosted-contract.json +767 -3
- package/package.json +2 -2
- package/skills/webcmd-browser/SKILL.md +2 -1
- package/skills/webcmd-usage/SKILL.md +1 -1
package/hosted-contract.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"webcmdVersion": "0.4.
|
|
3
|
+
"webcmdVersion": "0.4.3",
|
|
4
4
|
"outputFormats": [
|
|
5
5
|
"table",
|
|
6
6
|
"plain",
|
|
@@ -5647,7 +5647,7 @@
|
|
|
5647
5647
|
"command": "chatgpt/model",
|
|
5648
5648
|
"site": "chatgpt",
|
|
5649
5649
|
"name": "model",
|
|
5650
|
-
"description": "Switch ChatGPT web intelligence level (fast, balanced, advanced, very-high, pro)",
|
|
5650
|
+
"description": "Switch ChatGPT web model or intelligence level (GPT-5.6 Pro, fast, balanced, advanced, very-high, pro)",
|
|
5651
5651
|
"access": "write",
|
|
5652
5652
|
"strategy": "COOKIE",
|
|
5653
5653
|
"browser": true,
|
|
@@ -5656,7 +5656,7 @@
|
|
|
5656
5656
|
{
|
|
5657
5657
|
"name": "model",
|
|
5658
5658
|
"type": "string",
|
|
5659
|
-
"description": "
|
|
5659
|
+
"description": "ChatGPT model or intelligence level to switch to",
|
|
5660
5660
|
"positional": true,
|
|
5661
5661
|
"required": true,
|
|
5662
5662
|
"variadic": false,
|
|
@@ -5676,6 +5676,14 @@
|
|
|
5676
5676
|
"x-high",
|
|
5677
5677
|
"extra-high",
|
|
5678
5678
|
"very high",
|
|
5679
|
+
"gpt-5.6-pro",
|
|
5680
|
+
"gpt-5-6-pro",
|
|
5681
|
+
"gpt-5.6-sol-pro",
|
|
5682
|
+
"gpt-5-6-sol-pro",
|
|
5683
|
+
"gpt-5.6",
|
|
5684
|
+
"gpt-5-6",
|
|
5685
|
+
"5.6-pro",
|
|
5686
|
+
"5.6",
|
|
5679
5687
|
"pro",
|
|
5680
5688
|
"professional"
|
|
5681
5689
|
]
|
|
@@ -12311,6 +12319,72 @@
|
|
|
12311
12319
|
"mode": "hosted"
|
|
12312
12320
|
}
|
|
12313
12321
|
},
|
|
12322
|
+
{
|
|
12323
|
+
"command": "google/images",
|
|
12324
|
+
"site": "google",
|
|
12325
|
+
"name": "images",
|
|
12326
|
+
"description": "Search Google Images for photos and image results",
|
|
12327
|
+
"access": "read",
|
|
12328
|
+
"strategy": "PUBLIC",
|
|
12329
|
+
"browser": true,
|
|
12330
|
+
"domain": "google.com",
|
|
12331
|
+
"positionals": [
|
|
12332
|
+
{
|
|
12333
|
+
"name": "keyword",
|
|
12334
|
+
"type": "string",
|
|
12335
|
+
"description": "Image search query",
|
|
12336
|
+
"positional": true,
|
|
12337
|
+
"required": true,
|
|
12338
|
+
"variadic": false
|
|
12339
|
+
}
|
|
12340
|
+
],
|
|
12341
|
+
"options": [
|
|
12342
|
+
{
|
|
12343
|
+
"name": "limit",
|
|
12344
|
+
"type": "int",
|
|
12345
|
+
"description": "Number of image results (1-100)",
|
|
12346
|
+
"positional": false,
|
|
12347
|
+
"required": false,
|
|
12348
|
+
"variadic": false,
|
|
12349
|
+
"default": 20
|
|
12350
|
+
},
|
|
12351
|
+
{
|
|
12352
|
+
"name": "lang",
|
|
12353
|
+
"type": "string",
|
|
12354
|
+
"description": "Language short code (e.g. en, zh)",
|
|
12355
|
+
"positional": false,
|
|
12356
|
+
"required": false,
|
|
12357
|
+
"variadic": false,
|
|
12358
|
+
"default": "en"
|
|
12359
|
+
},
|
|
12360
|
+
{
|
|
12361
|
+
"name": "resolve",
|
|
12362
|
+
"type": "boolean",
|
|
12363
|
+
"description": "Click image previews to resolve original imgurl values",
|
|
12364
|
+
"positional": false,
|
|
12365
|
+
"required": false,
|
|
12366
|
+
"variadic": false,
|
|
12367
|
+
"default": true
|
|
12368
|
+
}
|
|
12369
|
+
],
|
|
12370
|
+
"columns": [
|
|
12371
|
+
"rank",
|
|
12372
|
+
"title",
|
|
12373
|
+
"imageUrl",
|
|
12374
|
+
"thumbnailUrl",
|
|
12375
|
+
"sourceUrl",
|
|
12376
|
+
"source",
|
|
12377
|
+
"width",
|
|
12378
|
+
"height"
|
|
12379
|
+
],
|
|
12380
|
+
"aliases": [],
|
|
12381
|
+
"defaultFormat": "table",
|
|
12382
|
+
"fileArguments": [],
|
|
12383
|
+
"sessionPolicy": "create-or-reuse",
|
|
12384
|
+
"availability": {
|
|
12385
|
+
"mode": "hosted"
|
|
12386
|
+
}
|
|
12387
|
+
},
|
|
12314
12388
|
{
|
|
12315
12389
|
"command": "google/news",
|
|
12316
12390
|
"site": "google",
|
|
@@ -29859,6 +29933,696 @@
|
|
|
29859
29933
|
"reason": "local-tool"
|
|
29860
29934
|
}
|
|
29861
29935
|
},
|
|
29936
|
+
{
|
|
29937
|
+
"command": "trip/attraction",
|
|
29938
|
+
"site": "trip",
|
|
29939
|
+
"name": "attraction",
|
|
29940
|
+
"description": "Search Trip.com attractions and experiences by destination keyword",
|
|
29941
|
+
"access": "read",
|
|
29942
|
+
"strategy": "COOKIE",
|
|
29943
|
+
"browser": true,
|
|
29944
|
+
"domain": "trip.com",
|
|
29945
|
+
"positionals": [
|
|
29946
|
+
{
|
|
29947
|
+
"name": "query",
|
|
29948
|
+
"type": "string",
|
|
29949
|
+
"description": "Destination or attraction keyword (e.g. Tokyo / Paris / Louvre)",
|
|
29950
|
+
"positional": true,
|
|
29951
|
+
"required": true,
|
|
29952
|
+
"variadic": false
|
|
29953
|
+
}
|
|
29954
|
+
],
|
|
29955
|
+
"options": [
|
|
29956
|
+
{
|
|
29957
|
+
"name": "limit",
|
|
29958
|
+
"type": "int",
|
|
29959
|
+
"description": "Number of results (1-50)",
|
|
29960
|
+
"positional": false,
|
|
29961
|
+
"required": false,
|
|
29962
|
+
"variadic": false,
|
|
29963
|
+
"default": 20
|
|
29964
|
+
}
|
|
29965
|
+
],
|
|
29966
|
+
"columns": [
|
|
29967
|
+
"rank",
|
|
29968
|
+
"name",
|
|
29969
|
+
"rating",
|
|
29970
|
+
"reviews",
|
|
29971
|
+
"booked",
|
|
29972
|
+
"price",
|
|
29973
|
+
"currency",
|
|
29974
|
+
"url"
|
|
29975
|
+
],
|
|
29976
|
+
"aliases": [],
|
|
29977
|
+
"defaultFormat": "table",
|
|
29978
|
+
"fileArguments": [],
|
|
29979
|
+
"sessionPolicy": "create-or-reuse",
|
|
29980
|
+
"availability": {
|
|
29981
|
+
"mode": "hosted"
|
|
29982
|
+
}
|
|
29983
|
+
},
|
|
29984
|
+
{
|
|
29985
|
+
"command": "trip/car",
|
|
29986
|
+
"site": "trip",
|
|
29987
|
+
"name": "car",
|
|
29988
|
+
"description": "List Trip.com car-rental vehicles for a city (category, model, seats, daily price)",
|
|
29989
|
+
"access": "read",
|
|
29990
|
+
"strategy": "COOKIE",
|
|
29991
|
+
"browser": true,
|
|
29992
|
+
"domain": "trip.com",
|
|
29993
|
+
"positionals": [
|
|
29994
|
+
{
|
|
29995
|
+
"name": "city",
|
|
29996
|
+
"type": "string",
|
|
29997
|
+
"description": "Numeric Trip.com carhire city id (discover via the carhire search box)",
|
|
29998
|
+
"positional": true,
|
|
29999
|
+
"required": true,
|
|
30000
|
+
"variadic": false
|
|
30001
|
+
}
|
|
30002
|
+
],
|
|
30003
|
+
"options": [
|
|
30004
|
+
{
|
|
30005
|
+
"name": "limit",
|
|
30006
|
+
"type": "int",
|
|
30007
|
+
"description": "Number of vehicles (1-50)",
|
|
30008
|
+
"positional": false,
|
|
30009
|
+
"required": false,
|
|
30010
|
+
"variadic": false,
|
|
30011
|
+
"default": 20
|
|
30012
|
+
}
|
|
30013
|
+
],
|
|
30014
|
+
"columns": [
|
|
30015
|
+
"rank",
|
|
30016
|
+
"category",
|
|
30017
|
+
"vehicle",
|
|
30018
|
+
"seats",
|
|
30019
|
+
"price",
|
|
30020
|
+
"currency",
|
|
30021
|
+
"url"
|
|
30022
|
+
],
|
|
30023
|
+
"aliases": [],
|
|
30024
|
+
"defaultFormat": "table",
|
|
30025
|
+
"fileArguments": [],
|
|
30026
|
+
"sessionPolicy": "create-or-reuse",
|
|
30027
|
+
"availability": {
|
|
30028
|
+
"mode": "hosted"
|
|
30029
|
+
}
|
|
30030
|
+
},
|
|
30031
|
+
{
|
|
30032
|
+
"command": "trip/deals",
|
|
30033
|
+
"site": "trip",
|
|
30034
|
+
"name": "deals",
|
|
30035
|
+
"description": "List Trip.com live promotions from the Top Deals hub: campaign title, offer, discount, and link",
|
|
30036
|
+
"access": "read",
|
|
30037
|
+
"strategy": "COOKIE",
|
|
30038
|
+
"browser": true,
|
|
30039
|
+
"domain": "trip.com",
|
|
30040
|
+
"positionals": [],
|
|
30041
|
+
"options": [
|
|
30042
|
+
{
|
|
30043
|
+
"name": "limit",
|
|
30044
|
+
"type": "int",
|
|
30045
|
+
"description": "Number of deals (1-50)",
|
|
30046
|
+
"positional": false,
|
|
30047
|
+
"required": false,
|
|
30048
|
+
"variadic": false,
|
|
30049
|
+
"default": 20
|
|
30050
|
+
}
|
|
30051
|
+
],
|
|
30052
|
+
"columns": [
|
|
30053
|
+
"rank",
|
|
30054
|
+
"title",
|
|
30055
|
+
"offer",
|
|
30056
|
+
"discount",
|
|
30057
|
+
"url"
|
|
30058
|
+
],
|
|
30059
|
+
"aliases": [],
|
|
30060
|
+
"defaultFormat": "table",
|
|
30061
|
+
"fileArguments": [],
|
|
30062
|
+
"sessionPolicy": "create-or-reuse",
|
|
30063
|
+
"availability": {
|
|
30064
|
+
"mode": "hosted"
|
|
30065
|
+
}
|
|
30066
|
+
},
|
|
30067
|
+
{
|
|
30068
|
+
"command": "trip/flight",
|
|
30069
|
+
"site": "trip",
|
|
30070
|
+
"name": "flight",
|
|
30071
|
+
"description": "Search Trip.com one-way flights by IATA route + departure date",
|
|
30072
|
+
"access": "read",
|
|
30073
|
+
"strategy": "COOKIE",
|
|
30074
|
+
"browser": true,
|
|
30075
|
+
"domain": "trip.com",
|
|
30076
|
+
"positionals": [
|
|
30077
|
+
{
|
|
30078
|
+
"name": "from",
|
|
30079
|
+
"type": "string",
|
|
30080
|
+
"description": "Departure IATA code (e.g. LON / LHR)",
|
|
30081
|
+
"positional": true,
|
|
30082
|
+
"required": true,
|
|
30083
|
+
"variadic": false
|
|
30084
|
+
},
|
|
30085
|
+
{
|
|
30086
|
+
"name": "to",
|
|
30087
|
+
"type": "string",
|
|
30088
|
+
"description": "Arrival IATA code (e.g. NYC / JFK)",
|
|
30089
|
+
"positional": true,
|
|
30090
|
+
"required": true,
|
|
30091
|
+
"variadic": false
|
|
30092
|
+
}
|
|
30093
|
+
],
|
|
30094
|
+
"options": [
|
|
30095
|
+
{
|
|
30096
|
+
"name": "date",
|
|
30097
|
+
"type": "string",
|
|
30098
|
+
"description": "Departure date (YYYY-MM-DD)",
|
|
30099
|
+
"positional": false,
|
|
30100
|
+
"required": true,
|
|
30101
|
+
"variadic": false
|
|
30102
|
+
},
|
|
30103
|
+
{
|
|
30104
|
+
"name": "limit",
|
|
30105
|
+
"type": "int",
|
|
30106
|
+
"description": "Number of flights (1-50)",
|
|
30107
|
+
"positional": false,
|
|
30108
|
+
"required": false,
|
|
30109
|
+
"variadic": false,
|
|
30110
|
+
"default": 20
|
|
30111
|
+
}
|
|
30112
|
+
],
|
|
30113
|
+
"columns": [
|
|
30114
|
+
"rank",
|
|
30115
|
+
"airline",
|
|
30116
|
+
"departureTime",
|
|
30117
|
+
"departureAirport",
|
|
30118
|
+
"arrivalTime",
|
|
30119
|
+
"arrivalAirport",
|
|
30120
|
+
"duration",
|
|
30121
|
+
"stops",
|
|
30122
|
+
"price",
|
|
30123
|
+
"currency",
|
|
30124
|
+
"url"
|
|
30125
|
+
],
|
|
30126
|
+
"aliases": [],
|
|
30127
|
+
"defaultFormat": "table",
|
|
30128
|
+
"fileArguments": [],
|
|
30129
|
+
"sessionPolicy": "create-or-reuse",
|
|
30130
|
+
"availability": {
|
|
30131
|
+
"mode": "hosted"
|
|
30132
|
+
}
|
|
30133
|
+
},
|
|
30134
|
+
{
|
|
30135
|
+
"command": "trip/flight-round",
|
|
30136
|
+
"site": "trip",
|
|
30137
|
+
"name": "flight-round",
|
|
30138
|
+
"description": "Search Trip.com round-trip flights by IATA route + depart/return dates",
|
|
30139
|
+
"access": "read",
|
|
30140
|
+
"strategy": "COOKIE",
|
|
30141
|
+
"browser": true,
|
|
30142
|
+
"domain": "trip.com",
|
|
30143
|
+
"positionals": [
|
|
30144
|
+
{
|
|
30145
|
+
"name": "from",
|
|
30146
|
+
"type": "string",
|
|
30147
|
+
"description": "Departure IATA code (e.g. LON / LHR)",
|
|
30148
|
+
"positional": true,
|
|
30149
|
+
"required": true,
|
|
30150
|
+
"variadic": false
|
|
30151
|
+
},
|
|
30152
|
+
{
|
|
30153
|
+
"name": "to",
|
|
30154
|
+
"type": "string",
|
|
30155
|
+
"description": "Arrival IATA code (e.g. NYC / JFK)",
|
|
30156
|
+
"positional": true,
|
|
30157
|
+
"required": true,
|
|
30158
|
+
"variadic": false
|
|
30159
|
+
}
|
|
30160
|
+
],
|
|
30161
|
+
"options": [
|
|
30162
|
+
{
|
|
30163
|
+
"name": "depart",
|
|
30164
|
+
"type": "string",
|
|
30165
|
+
"description": "Outbound date (YYYY-MM-DD)",
|
|
30166
|
+
"positional": false,
|
|
30167
|
+
"required": true,
|
|
30168
|
+
"variadic": false
|
|
30169
|
+
},
|
|
30170
|
+
{
|
|
30171
|
+
"name": "return",
|
|
30172
|
+
"type": "string",
|
|
30173
|
+
"description": "Return date (YYYY-MM-DD)",
|
|
30174
|
+
"positional": false,
|
|
30175
|
+
"required": true,
|
|
30176
|
+
"variadic": false
|
|
30177
|
+
},
|
|
30178
|
+
{
|
|
30179
|
+
"name": "limit",
|
|
30180
|
+
"type": "int",
|
|
30181
|
+
"description": "Number of flights (1-50)",
|
|
30182
|
+
"positional": false,
|
|
30183
|
+
"required": false,
|
|
30184
|
+
"variadic": false,
|
|
30185
|
+
"default": 20
|
|
30186
|
+
}
|
|
30187
|
+
],
|
|
30188
|
+
"columns": [
|
|
30189
|
+
"rank",
|
|
30190
|
+
"airline",
|
|
30191
|
+
"departureTime",
|
|
30192
|
+
"departureAirport",
|
|
30193
|
+
"arrivalTime",
|
|
30194
|
+
"arrivalAirport",
|
|
30195
|
+
"duration",
|
|
30196
|
+
"stops",
|
|
30197
|
+
"price",
|
|
30198
|
+
"currency",
|
|
30199
|
+
"url"
|
|
30200
|
+
],
|
|
30201
|
+
"aliases": [],
|
|
30202
|
+
"defaultFormat": "table",
|
|
30203
|
+
"fileArguments": [],
|
|
30204
|
+
"sessionPolicy": "create-or-reuse",
|
|
30205
|
+
"availability": {
|
|
30206
|
+
"mode": "hosted"
|
|
30207
|
+
}
|
|
30208
|
+
},
|
|
30209
|
+
{
|
|
30210
|
+
"command": "trip/hotel",
|
|
30211
|
+
"site": "trip",
|
|
30212
|
+
"name": "hotel",
|
|
30213
|
+
"description": "Show a Trip.com hotel detail by id (rating breakdown, amenities, check-in/out policy)",
|
|
30214
|
+
"access": "read",
|
|
30215
|
+
"strategy": "COOKIE",
|
|
30216
|
+
"browser": true,
|
|
30217
|
+
"domain": "trip.com",
|
|
30218
|
+
"positionals": [
|
|
30219
|
+
{
|
|
30220
|
+
"name": "id",
|
|
30221
|
+
"type": "string",
|
|
30222
|
+
"description": "Numeric Trip.com hotel id (discover via the hotels list; e.g. 715233)",
|
|
30223
|
+
"positional": true,
|
|
30224
|
+
"required": true,
|
|
30225
|
+
"variadic": false
|
|
30226
|
+
}
|
|
30227
|
+
],
|
|
30228
|
+
"options": [],
|
|
30229
|
+
"columns": [
|
|
30230
|
+
"hotelId",
|
|
30231
|
+
"name",
|
|
30232
|
+
"enName",
|
|
30233
|
+
"star",
|
|
30234
|
+
"score",
|
|
30235
|
+
"scoreLabel",
|
|
30236
|
+
"reviewCount",
|
|
30237
|
+
"ratingBreakdown",
|
|
30238
|
+
"facilities",
|
|
30239
|
+
"checkInOut",
|
|
30240
|
+
"cityName",
|
|
30241
|
+
"address",
|
|
30242
|
+
"lat",
|
|
30243
|
+
"lon",
|
|
30244
|
+
"url"
|
|
30245
|
+
],
|
|
30246
|
+
"aliases": [],
|
|
30247
|
+
"defaultFormat": "table",
|
|
30248
|
+
"fileArguments": [],
|
|
30249
|
+
"sessionPolicy": "create-or-reuse",
|
|
30250
|
+
"availability": {
|
|
30251
|
+
"mode": "hosted"
|
|
30252
|
+
}
|
|
30253
|
+
},
|
|
30254
|
+
{
|
|
30255
|
+
"command": "trip/hotel-search",
|
|
30256
|
+
"site": "trip",
|
|
30257
|
+
"name": "hotel-search",
|
|
30258
|
+
"description": "List Trip.com hotels for a city id + check-in/out date range",
|
|
30259
|
+
"access": "read",
|
|
30260
|
+
"strategy": "COOKIE",
|
|
30261
|
+
"browser": true,
|
|
30262
|
+
"domain": "trip.com",
|
|
30263
|
+
"positionals": [
|
|
30264
|
+
{
|
|
30265
|
+
"name": "city",
|
|
30266
|
+
"type": "string",
|
|
30267
|
+
"description": "Numeric Trip.com city id (discover via the hotels search box; e.g. 338 for London)",
|
|
30268
|
+
"positional": true,
|
|
30269
|
+
"required": true,
|
|
30270
|
+
"variadic": false
|
|
30271
|
+
}
|
|
30272
|
+
],
|
|
30273
|
+
"options": [
|
|
30274
|
+
{
|
|
30275
|
+
"name": "checkin",
|
|
30276
|
+
"type": "string",
|
|
30277
|
+
"description": "Check-in date (YYYY-MM-DD)",
|
|
30278
|
+
"positional": false,
|
|
30279
|
+
"required": true,
|
|
30280
|
+
"variadic": false
|
|
30281
|
+
},
|
|
30282
|
+
{
|
|
30283
|
+
"name": "checkout",
|
|
30284
|
+
"type": "string",
|
|
30285
|
+
"description": "Check-out date (YYYY-MM-DD)",
|
|
30286
|
+
"positional": false,
|
|
30287
|
+
"required": true,
|
|
30288
|
+
"variadic": false
|
|
30289
|
+
},
|
|
30290
|
+
{
|
|
30291
|
+
"name": "limit",
|
|
30292
|
+
"type": "int",
|
|
30293
|
+
"description": "Number of hotels (1-50)",
|
|
30294
|
+
"positional": false,
|
|
30295
|
+
"required": false,
|
|
30296
|
+
"variadic": false,
|
|
30297
|
+
"default": 20
|
|
30298
|
+
}
|
|
30299
|
+
],
|
|
30300
|
+
"columns": [
|
|
30301
|
+
"rank",
|
|
30302
|
+
"name",
|
|
30303
|
+
"score",
|
|
30304
|
+
"reviewLabel",
|
|
30305
|
+
"reviews",
|
|
30306
|
+
"location",
|
|
30307
|
+
"room",
|
|
30308
|
+
"price",
|
|
30309
|
+
"currency",
|
|
30310
|
+
"url"
|
|
30311
|
+
],
|
|
30312
|
+
"aliases": [],
|
|
30313
|
+
"defaultFormat": "table",
|
|
30314
|
+
"fileArguments": [],
|
|
30315
|
+
"sessionPolicy": "create-or-reuse",
|
|
30316
|
+
"availability": {
|
|
30317
|
+
"mode": "hosted"
|
|
30318
|
+
}
|
|
30319
|
+
},
|
|
30320
|
+
{
|
|
30321
|
+
"command": "trip/package",
|
|
30322
|
+
"site": "trip",
|
|
30323
|
+
"name": "package",
|
|
30324
|
+
"description": "Search Trip.com flight+hotel packages by route + dates; lists the package flight options priced at the bundle rate",
|
|
30325
|
+
"access": "read",
|
|
30326
|
+
"strategy": "PUBLIC",
|
|
30327
|
+
"browser": false,
|
|
30328
|
+
"domain": "trip.com",
|
|
30329
|
+
"positionals": [
|
|
30330
|
+
{
|
|
30331
|
+
"name": "from",
|
|
30332
|
+
"type": "string",
|
|
30333
|
+
"description": "Origin city keyword (e.g. Seoul / London / Bangkok)",
|
|
30334
|
+
"positional": true,
|
|
30335
|
+
"required": true,
|
|
30336
|
+
"variadic": false
|
|
30337
|
+
},
|
|
30338
|
+
{
|
|
30339
|
+
"name": "to",
|
|
30340
|
+
"type": "string",
|
|
30341
|
+
"description": "Destination city keyword (e.g. Tokyo / Paris / Singapore)",
|
|
30342
|
+
"positional": true,
|
|
30343
|
+
"required": true,
|
|
30344
|
+
"variadic": false
|
|
30345
|
+
}
|
|
30346
|
+
],
|
|
30347
|
+
"options": [
|
|
30348
|
+
{
|
|
30349
|
+
"name": "depart",
|
|
30350
|
+
"type": "string",
|
|
30351
|
+
"description": "Outbound date (YYYY-MM-DD)",
|
|
30352
|
+
"positional": false,
|
|
30353
|
+
"required": true,
|
|
30354
|
+
"variadic": false
|
|
30355
|
+
},
|
|
30356
|
+
{
|
|
30357
|
+
"name": "return",
|
|
30358
|
+
"type": "string",
|
|
30359
|
+
"description": "Return date (YYYY-MM-DD)",
|
|
30360
|
+
"positional": false,
|
|
30361
|
+
"required": true,
|
|
30362
|
+
"variadic": false
|
|
30363
|
+
},
|
|
30364
|
+
{
|
|
30365
|
+
"name": "adults",
|
|
30366
|
+
"type": "int",
|
|
30367
|
+
"description": "Number of adults (1-9, default 2)",
|
|
30368
|
+
"positional": false,
|
|
30369
|
+
"required": false,
|
|
30370
|
+
"variadic": false,
|
|
30371
|
+
"default": 2
|
|
30372
|
+
},
|
|
30373
|
+
{
|
|
30374
|
+
"name": "limit",
|
|
30375
|
+
"type": "int",
|
|
30376
|
+
"description": "Number of packages (1-50)",
|
|
30377
|
+
"positional": false,
|
|
30378
|
+
"required": false,
|
|
30379
|
+
"variadic": false,
|
|
30380
|
+
"default": 20
|
|
30381
|
+
}
|
|
30382
|
+
],
|
|
30383
|
+
"columns": [
|
|
30384
|
+
"rank",
|
|
30385
|
+
"airline",
|
|
30386
|
+
"flightNo",
|
|
30387
|
+
"from",
|
|
30388
|
+
"to",
|
|
30389
|
+
"departure",
|
|
30390
|
+
"arrival",
|
|
30391
|
+
"stops",
|
|
30392
|
+
"price",
|
|
30393
|
+
"currency"
|
|
30394
|
+
],
|
|
30395
|
+
"aliases": [],
|
|
30396
|
+
"defaultFormat": "table",
|
|
30397
|
+
"fileArguments": [],
|
|
30398
|
+
"sessionPolicy": "create-or-reuse",
|
|
30399
|
+
"availability": {
|
|
30400
|
+
"mode": "hosted"
|
|
30401
|
+
}
|
|
30402
|
+
},
|
|
30403
|
+
{
|
|
30404
|
+
"command": "trip/search",
|
|
30405
|
+
"site": "trip",
|
|
30406
|
+
"name": "search",
|
|
30407
|
+
"description": "Suggest Trip.com destinations (cities, airports) for a keyword; resolves the ids the other commands take",
|
|
30408
|
+
"access": "read",
|
|
30409
|
+
"strategy": "PUBLIC",
|
|
30410
|
+
"browser": false,
|
|
30411
|
+
"domain": "trip.com",
|
|
30412
|
+
"positionals": [
|
|
30413
|
+
{
|
|
30414
|
+
"name": "query",
|
|
30415
|
+
"type": "string",
|
|
30416
|
+
"description": "Destination keyword (e.g. Tokyo / Bali / London)",
|
|
30417
|
+
"positional": true,
|
|
30418
|
+
"required": true,
|
|
30419
|
+
"variadic": false
|
|
30420
|
+
}
|
|
30421
|
+
],
|
|
30422
|
+
"options": [
|
|
30423
|
+
{
|
|
30424
|
+
"name": "limit",
|
|
30425
|
+
"type": "int",
|
|
30426
|
+
"description": "Number of suggestions (1-50)",
|
|
30427
|
+
"positional": false,
|
|
30428
|
+
"required": false,
|
|
30429
|
+
"variadic": false,
|
|
30430
|
+
"default": 20
|
|
30431
|
+
}
|
|
30432
|
+
],
|
|
30433
|
+
"columns": [
|
|
30434
|
+
"rank",
|
|
30435
|
+
"name",
|
|
30436
|
+
"type",
|
|
30437
|
+
"cityId",
|
|
30438
|
+
"airportCode",
|
|
30439
|
+
"province",
|
|
30440
|
+
"country"
|
|
30441
|
+
],
|
|
30442
|
+
"aliases": [],
|
|
30443
|
+
"defaultFormat": "table",
|
|
30444
|
+
"fileArguments": [],
|
|
30445
|
+
"sessionPolicy": "create-or-reuse",
|
|
30446
|
+
"availability": {
|
|
30447
|
+
"mode": "hosted"
|
|
30448
|
+
}
|
|
30449
|
+
},
|
|
30450
|
+
{
|
|
30451
|
+
"command": "trip/tour",
|
|
30452
|
+
"site": "trip",
|
|
30453
|
+
"name": "tour",
|
|
30454
|
+
"description": "Search Trip.com tour packages by destination keyword (private or group tours)",
|
|
30455
|
+
"access": "read",
|
|
30456
|
+
"strategy": "COOKIE",
|
|
30457
|
+
"browser": true,
|
|
30458
|
+
"domain": "trip.com",
|
|
30459
|
+
"positionals": [
|
|
30460
|
+
{
|
|
30461
|
+
"name": "query",
|
|
30462
|
+
"type": "string",
|
|
30463
|
+
"description": "Destination or tour keyword (e.g. Tokyo / Kyoto / Bali)",
|
|
30464
|
+
"positional": true,
|
|
30465
|
+
"required": true,
|
|
30466
|
+
"variadic": false
|
|
30467
|
+
}
|
|
30468
|
+
],
|
|
30469
|
+
"options": [
|
|
30470
|
+
{
|
|
30471
|
+
"name": "type",
|
|
30472
|
+
"type": "string",
|
|
30473
|
+
"description": "Tour line: private or group (default private)",
|
|
30474
|
+
"positional": false,
|
|
30475
|
+
"required": false,
|
|
30476
|
+
"variadic": false,
|
|
30477
|
+
"default": "private"
|
|
30478
|
+
},
|
|
30479
|
+
{
|
|
30480
|
+
"name": "limit",
|
|
30481
|
+
"type": "int",
|
|
30482
|
+
"description": "Number of tours (1-50)",
|
|
30483
|
+
"positional": false,
|
|
30484
|
+
"required": false,
|
|
30485
|
+
"variadic": false,
|
|
30486
|
+
"default": 20
|
|
30487
|
+
}
|
|
30488
|
+
],
|
|
30489
|
+
"columns": [
|
|
30490
|
+
"rank",
|
|
30491
|
+
"name",
|
|
30492
|
+
"type",
|
|
30493
|
+
"rating",
|
|
30494
|
+
"reviews",
|
|
30495
|
+
"price",
|
|
30496
|
+
"currency",
|
|
30497
|
+
"url"
|
|
30498
|
+
],
|
|
30499
|
+
"aliases": [],
|
|
30500
|
+
"defaultFormat": "table",
|
|
30501
|
+
"fileArguments": [],
|
|
30502
|
+
"sessionPolicy": "create-or-reuse",
|
|
30503
|
+
"availability": {
|
|
30504
|
+
"mode": "hosted"
|
|
30505
|
+
}
|
|
30506
|
+
},
|
|
30507
|
+
{
|
|
30508
|
+
"command": "trip/train",
|
|
30509
|
+
"site": "trip",
|
|
30510
|
+
"name": "train",
|
|
30511
|
+
"description": "Show a Trip.com train route timetable (departure/arrival times, duration, changes)",
|
|
30512
|
+
"access": "read",
|
|
30513
|
+
"strategy": "COOKIE",
|
|
30514
|
+
"browser": true,
|
|
30515
|
+
"domain": "trip.com",
|
|
30516
|
+
"positionals": [
|
|
30517
|
+
{
|
|
30518
|
+
"name": "from",
|
|
30519
|
+
"type": "string",
|
|
30520
|
+
"description": "Departure city (e.g. London / Paris / Shanghai)",
|
|
30521
|
+
"positional": true,
|
|
30522
|
+
"required": true,
|
|
30523
|
+
"variadic": false
|
|
30524
|
+
},
|
|
30525
|
+
{
|
|
30526
|
+
"name": "to",
|
|
30527
|
+
"type": "string",
|
|
30528
|
+
"description": "Arrival city (e.g. Manchester / Lyon / Beijing)",
|
|
30529
|
+
"positional": true,
|
|
30530
|
+
"required": true,
|
|
30531
|
+
"variadic": false
|
|
30532
|
+
}
|
|
30533
|
+
],
|
|
30534
|
+
"options": [
|
|
30535
|
+
{
|
|
30536
|
+
"name": "country",
|
|
30537
|
+
"type": "string",
|
|
30538
|
+
"description": "Route country slug (e.g. uk / france / italy / spain / germany / china)",
|
|
30539
|
+
"positional": false,
|
|
30540
|
+
"required": true,
|
|
30541
|
+
"variadic": false
|
|
30542
|
+
},
|
|
30543
|
+
{
|
|
30544
|
+
"name": "limit",
|
|
30545
|
+
"type": "int",
|
|
30546
|
+
"description": "Number of journeys (1-50)",
|
|
30547
|
+
"positional": false,
|
|
30548
|
+
"required": false,
|
|
30549
|
+
"variadic": false,
|
|
30550
|
+
"default": 20
|
|
30551
|
+
}
|
|
30552
|
+
],
|
|
30553
|
+
"columns": [
|
|
30554
|
+
"rank",
|
|
30555
|
+
"departureTime",
|
|
30556
|
+
"fromStation",
|
|
30557
|
+
"arrivalTime",
|
|
30558
|
+
"toStation",
|
|
30559
|
+
"duration",
|
|
30560
|
+
"changes",
|
|
30561
|
+
"url"
|
|
30562
|
+
],
|
|
30563
|
+
"aliases": [],
|
|
30564
|
+
"defaultFormat": "table",
|
|
30565
|
+
"fileArguments": [],
|
|
30566
|
+
"sessionPolicy": "create-or-reuse",
|
|
30567
|
+
"availability": {
|
|
30568
|
+
"mode": "hosted"
|
|
30569
|
+
}
|
|
30570
|
+
},
|
|
30571
|
+
{
|
|
30572
|
+
"command": "trip/transfer",
|
|
30573
|
+
"site": "trip",
|
|
30574
|
+
"name": "transfer",
|
|
30575
|
+
"description": "List Trip.com airport-transfer vehicles for a city + airport (type, seats, from-price)",
|
|
30576
|
+
"access": "read",
|
|
30577
|
+
"strategy": "COOKIE",
|
|
30578
|
+
"browser": true,
|
|
30579
|
+
"domain": "trip.com",
|
|
30580
|
+
"positionals": [
|
|
30581
|
+
{
|
|
30582
|
+
"name": "city",
|
|
30583
|
+
"type": "string",
|
|
30584
|
+
"description": "Airport city (e.g. Bangkok / Beijing / Da Nang)",
|
|
30585
|
+
"positional": true,
|
|
30586
|
+
"required": true,
|
|
30587
|
+
"variadic": false
|
|
30588
|
+
},
|
|
30589
|
+
{
|
|
30590
|
+
"name": "airport",
|
|
30591
|
+
"type": "string",
|
|
30592
|
+
"description": "3-letter airport IATA code (e.g. DMK / PKX / DAD)",
|
|
30593
|
+
"positional": true,
|
|
30594
|
+
"required": true,
|
|
30595
|
+
"variadic": false
|
|
30596
|
+
}
|
|
30597
|
+
],
|
|
30598
|
+
"options": [
|
|
30599
|
+
{
|
|
30600
|
+
"name": "limit",
|
|
30601
|
+
"type": "int",
|
|
30602
|
+
"description": "Number of vehicles (1-50)",
|
|
30603
|
+
"positional": false,
|
|
30604
|
+
"required": false,
|
|
30605
|
+
"variadic": false,
|
|
30606
|
+
"default": 20
|
|
30607
|
+
}
|
|
30608
|
+
],
|
|
30609
|
+
"columns": [
|
|
30610
|
+
"rank",
|
|
30611
|
+
"type",
|
|
30612
|
+
"passengers",
|
|
30613
|
+
"luggage",
|
|
30614
|
+
"price",
|
|
30615
|
+
"currency",
|
|
30616
|
+
"url"
|
|
30617
|
+
],
|
|
30618
|
+
"aliases": [],
|
|
30619
|
+
"defaultFormat": "table",
|
|
30620
|
+
"fileArguments": [],
|
|
30621
|
+
"sessionPolicy": "create-or-reuse",
|
|
30622
|
+
"availability": {
|
|
30623
|
+
"mode": "hosted"
|
|
30624
|
+
}
|
|
30625
|
+
},
|
|
29862
30626
|
{
|
|
29863
30627
|
"command": "tvmaze/search",
|
|
29864
30628
|
"site": "tvmaze",
|