@crawlora-org/sdk 1.9.0-sdk.1 → 1.10.0-sdk.1
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/CHANGELOG.md +8 -0
- package/docs/operations.md +5 -1
- package/openapi/public.json +667 -0
- package/package.json +1 -1
- package/src/client.js +1 -1
- package/src/operations.js +240 -1
- package/src/types.d.ts +173 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v1.10.0-sdk.1
|
|
4
|
+
|
|
5
|
+
- Regenerated from the public API contract (525 to 529 operations). Adds the
|
|
6
|
+
**Airbnb Markets dataset** (4 endpoints): aggregate short-term-rental market
|
|
7
|
+
statistics -- listing supply, Superhost share, ratings, and nightly-price bands
|
|
8
|
+
-- rolled up by country, metro, and geo cell (search, item lookup, facets, and
|
|
9
|
+
nearby density). Aggregate-only: no individual listings or hosts.
|
|
10
|
+
|
|
3
11
|
## v1.9.0-sdk.1
|
|
4
12
|
|
|
5
13
|
- Regenerated from the public API contract (499 to 525 operations). Adds four
|
package/docs/operations.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Generated from `openapi/public.json`. Deprecated, admin, and internal operations are excluded from this SDK contract.
|
|
4
4
|
|
|
5
|
-
Total operations: `
|
|
5
|
+
Total operations: `529`
|
|
6
6
|
|
|
7
7
|
| Group | SDK method | Operation ID | HTTP | Params | Auth | Response | Notes |
|
|
8
8
|
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
@@ -93,6 +93,10 @@ Total operations: `525`
|
|
|
93
93
|
| web | `web.antibotCheck` | `antibot-check` | `POST /diagnostics/antibot-check` | `request` (body string required) | `ApiKeyAuth` | `WebAntibotCheckResponse` | |
|
|
94
94
|
| web | `web.scrape` | `web-scrape` | `POST /web/scrape` | `scrapeOption` (body string required) | `ApiKeyAuth` | `WebScrapeResponse` | |
|
|
95
95
|
| datasets | `datasets.list` | `datasets-list` | `GET /datasets` | none | `ApiKeyAuth` | `DatasetsListResponse` | |
|
|
96
|
+
| datasets | `datasets.airbnbMarketsFacets` | `datasets-airbnb-markets-facets` | `GET /datasets/airbnb-markets/facets` | `facet` (query string required)<br>`group_by` (query string)<br>`country` (query string)<br>`market` (query string)<br>`superhost` (query boolean)<br>`min_rating` (query number)<br>`min_review_count` (query number)<br>`active_since` (query string)<br>`min_listings` (query number) | `ApiKeyAuth` | `DatasetsAirbnbMarketsFacetsResponse` | |
|
|
97
|
+
| datasets | `datasets.airbnbMarketsItem` | `datasets-airbnb-markets-item` | `GET /datasets/airbnb-markets/items/{country}` | `country` (path string required) | `ApiKeyAuth` | `DatasetsAirbnbMarketsItemResponse` | |
|
|
98
|
+
| datasets | `datasets.airbnbMarketsNearby` | `datasets-airbnb-markets-nearby` | `GET /datasets/airbnb-markets/nearby` | `lat` (query number required)<br>`lon` (query number required)<br>`radius_m` (query number required)<br>`precision` (query number)<br>`min_listings` (query number)<br>`country` (query string)<br>`superhost` (query boolean)<br>`min_rating` (query number)<br>`active_since` (query string) | `ApiKeyAuth` | `DatasetsAirbnbMarketsNearbyResponse` | |
|
|
99
|
+
| datasets | `datasets.airbnbMarketsSearch` | `datasets-airbnb-markets-search` | `GET /datasets/airbnb-markets/search` | `group_by` (query string)<br>`country` (query string)<br>`market` (query string)<br>`superhost` (query boolean)<br>`min_rating` (query number)<br>`min_review_count` (query number)<br>`active_since` (query string)<br>`min_listings` (query number)<br>`sort` (query string)<br>`page` (query number)<br>`page_size` (query number) | `ApiKeyAuth` | `DatasetsAirbnbMarketsSearchResponse` | |
|
|
96
100
|
| datasets | `datasets.appsChartsSearch` | `datasets-apps-charts-search` | `GET /datasets/apps-charts/search` | `q` (query string)<br>`store` (query string)<br>`chart_type` (query string)<br>`collection` (query string)<br>`category` (query string)<br>`country` (query string)<br>`app_id` (query string)<br>`date` (query string)<br>`sort` (query string)<br>`page` (query number)<br>`page_size` (query number) | `ApiKeyAuth` | `DatasetsAppsChartsSearchResponse` | |
|
|
97
101
|
| datasets | `datasets.appsReviewsSearch` | `datasets-apps-reviews-search` | `GET /datasets/apps-reviews/search` | `q` (query string)<br>`store` (query string)<br>`app_id` (query string)<br>`country` (query string)<br>`min_score` (query number)<br>`sort` (query string)<br>`page` (query number)<br>`page_size` (query number) | `ApiKeyAuth` | `DatasetsAppsReviewsSearchResponse` | |
|
|
98
102
|
| datasets | `datasets.appsSearch` | `datasets-apps-search` | `GET /datasets/apps/search` | `q` (query string)<br>`store` (query string)<br>`category` (query string)<br>`country` (query string)<br>`developer` (query string)<br>`free` (query boolean)<br>`min_rating` (query number)<br>`min_reviews` (query number)<br>`sort` (query string)<br>`page` (query number)<br>`page_size` (query number) | `ApiKeyAuth` | `DatasetsAppsSearchResponse` | |
|
package/openapi/public.json
CHANGED
|
@@ -8479,6 +8479,84 @@
|
|
|
8479
8479
|
},
|
|
8480
8480
|
"type": "object"
|
|
8481
8481
|
},
|
|
8482
|
+
"datasets.AirbnbMarketFacetResponse": {
|
|
8483
|
+
"properties": {
|
|
8484
|
+
"dataset": {
|
|
8485
|
+
"type": "string"
|
|
8486
|
+
},
|
|
8487
|
+
"facet": {
|
|
8488
|
+
"type": "string"
|
|
8489
|
+
},
|
|
8490
|
+
"items": {
|
|
8491
|
+
"items": {
|
|
8492
|
+
"$ref": "#/definitions/es.AirbnbMarketFacetItem"
|
|
8493
|
+
},
|
|
8494
|
+
"type": "array"
|
|
8495
|
+
}
|
|
8496
|
+
},
|
|
8497
|
+
"type": "object"
|
|
8498
|
+
},
|
|
8499
|
+
"datasets.AirbnbMarketNearbyResponse": {
|
|
8500
|
+
"properties": {
|
|
8501
|
+
"cells": {
|
|
8502
|
+
"items": {
|
|
8503
|
+
"$ref": "#/definitions/es.AirbnbDensityCell"
|
|
8504
|
+
},
|
|
8505
|
+
"type": "array"
|
|
8506
|
+
},
|
|
8507
|
+
"dataset": {
|
|
8508
|
+
"type": "string"
|
|
8509
|
+
},
|
|
8510
|
+
"lat": {
|
|
8511
|
+
"type": "number"
|
|
8512
|
+
},
|
|
8513
|
+
"lon": {
|
|
8514
|
+
"type": "number"
|
|
8515
|
+
},
|
|
8516
|
+
"precision": {
|
|
8517
|
+
"type": "integer"
|
|
8518
|
+
},
|
|
8519
|
+
"radius_m": {
|
|
8520
|
+
"type": "integer"
|
|
8521
|
+
},
|
|
8522
|
+
"total": {
|
|
8523
|
+
"type": "integer"
|
|
8524
|
+
}
|
|
8525
|
+
},
|
|
8526
|
+
"type": "object"
|
|
8527
|
+
},
|
|
8528
|
+
"datasets.AirbnbMarketSearchResponse": {
|
|
8529
|
+
"properties": {
|
|
8530
|
+
"dataset": {
|
|
8531
|
+
"type": "string"
|
|
8532
|
+
},
|
|
8533
|
+
"group_by": {
|
|
8534
|
+
"type": "string"
|
|
8535
|
+
},
|
|
8536
|
+
"items": {
|
|
8537
|
+
"items": {
|
|
8538
|
+
"$ref": "#/definitions/es.AirbnbMarketCell"
|
|
8539
|
+
},
|
|
8540
|
+
"type": "array"
|
|
8541
|
+
},
|
|
8542
|
+
"min_listings": {
|
|
8543
|
+
"type": "integer"
|
|
8544
|
+
},
|
|
8545
|
+
"page": {
|
|
8546
|
+
"type": "integer"
|
|
8547
|
+
},
|
|
8548
|
+
"page_size": {
|
|
8549
|
+
"type": "integer"
|
|
8550
|
+
},
|
|
8551
|
+
"sort": {
|
|
8552
|
+
"type": "string"
|
|
8553
|
+
},
|
|
8554
|
+
"total": {
|
|
8555
|
+
"type": "integer"
|
|
8556
|
+
}
|
|
8557
|
+
},
|
|
8558
|
+
"type": "object"
|
|
8559
|
+
},
|
|
8482
8560
|
"datasets.AppsSearchResponse": {
|
|
8483
8561
|
"properties": {
|
|
8484
8562
|
"dataset": {
|
|
@@ -8703,6 +8781,70 @@
|
|
|
8703
8781
|
},
|
|
8704
8782
|
"type": "object"
|
|
8705
8783
|
},
|
|
8784
|
+
"datasets.airbnbMarketResponseDoc": {
|
|
8785
|
+
"properties": {
|
|
8786
|
+
"code": {
|
|
8787
|
+
"example": 200,
|
|
8788
|
+
"type": "integer"
|
|
8789
|
+
},
|
|
8790
|
+
"data": {
|
|
8791
|
+
"$ref": "#/definitions/es.AirbnbMarketDetail"
|
|
8792
|
+
},
|
|
8793
|
+
"msg": {
|
|
8794
|
+
"example": "OK",
|
|
8795
|
+
"type": "string"
|
|
8796
|
+
}
|
|
8797
|
+
},
|
|
8798
|
+
"type": "object"
|
|
8799
|
+
},
|
|
8800
|
+
"datasets.airbnbMarketsFacetResponseDoc": {
|
|
8801
|
+
"properties": {
|
|
8802
|
+
"code": {
|
|
8803
|
+
"example": 200,
|
|
8804
|
+
"type": "integer"
|
|
8805
|
+
},
|
|
8806
|
+
"data": {
|
|
8807
|
+
"$ref": "#/definitions/datasets.AirbnbMarketFacetResponse"
|
|
8808
|
+
},
|
|
8809
|
+
"msg": {
|
|
8810
|
+
"example": "OK",
|
|
8811
|
+
"type": "string"
|
|
8812
|
+
}
|
|
8813
|
+
},
|
|
8814
|
+
"type": "object"
|
|
8815
|
+
},
|
|
8816
|
+
"datasets.airbnbMarketsNearbyResponseDoc": {
|
|
8817
|
+
"properties": {
|
|
8818
|
+
"code": {
|
|
8819
|
+
"example": 200,
|
|
8820
|
+
"type": "integer"
|
|
8821
|
+
},
|
|
8822
|
+
"data": {
|
|
8823
|
+
"$ref": "#/definitions/datasets.AirbnbMarketNearbyResponse"
|
|
8824
|
+
},
|
|
8825
|
+
"msg": {
|
|
8826
|
+
"example": "OK",
|
|
8827
|
+
"type": "string"
|
|
8828
|
+
}
|
|
8829
|
+
},
|
|
8830
|
+
"type": "object"
|
|
8831
|
+
},
|
|
8832
|
+
"datasets.airbnbMarketsSearchResponseDoc": {
|
|
8833
|
+
"properties": {
|
|
8834
|
+
"code": {
|
|
8835
|
+
"example": 200,
|
|
8836
|
+
"type": "integer"
|
|
8837
|
+
},
|
|
8838
|
+
"data": {
|
|
8839
|
+
"$ref": "#/definitions/datasets.AirbnbMarketSearchResponse"
|
|
8840
|
+
},
|
|
8841
|
+
"msg": {
|
|
8842
|
+
"example": "OK",
|
|
8843
|
+
"type": "string"
|
|
8844
|
+
}
|
|
8845
|
+
},
|
|
8846
|
+
"type": "object"
|
|
8847
|
+
},
|
|
8706
8848
|
"datasets.appsSearchResponseDoc": {
|
|
8707
8849
|
"properties": {
|
|
8708
8850
|
"code": {
|
|
@@ -9538,6 +9680,144 @@
|
|
|
9538
9680
|
},
|
|
9539
9681
|
"type": "object"
|
|
9540
9682
|
},
|
|
9683
|
+
"es.AirbnbDensityCell": {
|
|
9684
|
+
"properties": {
|
|
9685
|
+
"geohash": {
|
|
9686
|
+
"type": "string"
|
|
9687
|
+
},
|
|
9688
|
+
"lat": {
|
|
9689
|
+
"type": "number"
|
|
9690
|
+
},
|
|
9691
|
+
"listings": {
|
|
9692
|
+
"type": "integer"
|
|
9693
|
+
},
|
|
9694
|
+
"lon": {
|
|
9695
|
+
"type": "number"
|
|
9696
|
+
},
|
|
9697
|
+
"superhost_listings": {
|
|
9698
|
+
"type": "integer"
|
|
9699
|
+
},
|
|
9700
|
+
"superhost_pct": {
|
|
9701
|
+
"type": "number"
|
|
9702
|
+
}
|
|
9703
|
+
},
|
|
9704
|
+
"type": "object"
|
|
9705
|
+
},
|
|
9706
|
+
"es.AirbnbGeoBounds": {
|
|
9707
|
+
"properties": {
|
|
9708
|
+
"bottom_right": {
|
|
9709
|
+
"$ref": "#/definitions/es.GeoPoint"
|
|
9710
|
+
},
|
|
9711
|
+
"top_left": {
|
|
9712
|
+
"$ref": "#/definitions/es.GeoPoint"
|
|
9713
|
+
}
|
|
9714
|
+
},
|
|
9715
|
+
"type": "object"
|
|
9716
|
+
},
|
|
9717
|
+
"es.AirbnbMarketCell": {
|
|
9718
|
+
"properties": {
|
|
9719
|
+
"avg_rating": {
|
|
9720
|
+
"type": "number"
|
|
9721
|
+
},
|
|
9722
|
+
"avg_review_count": {
|
|
9723
|
+
"type": "number"
|
|
9724
|
+
},
|
|
9725
|
+
"key": {
|
|
9726
|
+
"type": "string"
|
|
9727
|
+
},
|
|
9728
|
+
"last_seen": {
|
|
9729
|
+
"type": "string"
|
|
9730
|
+
},
|
|
9731
|
+
"listings": {
|
|
9732
|
+
"type": "integer"
|
|
9733
|
+
},
|
|
9734
|
+
"rated_listings": {
|
|
9735
|
+
"type": "integer"
|
|
9736
|
+
},
|
|
9737
|
+
"superhost_listings": {
|
|
9738
|
+
"type": "integer"
|
|
9739
|
+
},
|
|
9740
|
+
"superhost_pct": {
|
|
9741
|
+
"type": "number"
|
|
9742
|
+
}
|
|
9743
|
+
},
|
|
9744
|
+
"type": "object"
|
|
9745
|
+
},
|
|
9746
|
+
"es.AirbnbMarketDetail": {
|
|
9747
|
+
"properties": {
|
|
9748
|
+
"avg_rating": {
|
|
9749
|
+
"type": "number"
|
|
9750
|
+
},
|
|
9751
|
+
"avg_review_count": {
|
|
9752
|
+
"type": "number"
|
|
9753
|
+
},
|
|
9754
|
+
"bounds": {
|
|
9755
|
+
"$ref": "#/definitions/es.AirbnbGeoBounds"
|
|
9756
|
+
},
|
|
9757
|
+
"country": {
|
|
9758
|
+
"type": "string"
|
|
9759
|
+
},
|
|
9760
|
+
"currencies": {
|
|
9761
|
+
"items": {
|
|
9762
|
+
"$ref": "#/definitions/es.AirbnbPriceStats"
|
|
9763
|
+
},
|
|
9764
|
+
"type": "array"
|
|
9765
|
+
},
|
|
9766
|
+
"last_seen": {
|
|
9767
|
+
"type": "string"
|
|
9768
|
+
},
|
|
9769
|
+
"listings": {
|
|
9770
|
+
"type": "integer"
|
|
9771
|
+
},
|
|
9772
|
+
"metros": {
|
|
9773
|
+
"items": {
|
|
9774
|
+
"$ref": "#/definitions/es.AirbnbMarketCell"
|
|
9775
|
+
},
|
|
9776
|
+
"type": "array"
|
|
9777
|
+
},
|
|
9778
|
+
"rated_listings": {
|
|
9779
|
+
"type": "integer"
|
|
9780
|
+
},
|
|
9781
|
+
"superhost_listings": {
|
|
9782
|
+
"type": "integer"
|
|
9783
|
+
},
|
|
9784
|
+
"superhost_pct": {
|
|
9785
|
+
"type": "number"
|
|
9786
|
+
}
|
|
9787
|
+
},
|
|
9788
|
+
"type": "object"
|
|
9789
|
+
},
|
|
9790
|
+
"es.AirbnbMarketFacetItem": {
|
|
9791
|
+
"properties": {
|
|
9792
|
+
"count": {
|
|
9793
|
+
"type": "integer"
|
|
9794
|
+
},
|
|
9795
|
+
"value": {
|
|
9796
|
+
"type": "string"
|
|
9797
|
+
}
|
|
9798
|
+
},
|
|
9799
|
+
"type": "object"
|
|
9800
|
+
},
|
|
9801
|
+
"es.AirbnbPriceStats": {
|
|
9802
|
+
"properties": {
|
|
9803
|
+
"currency": {
|
|
9804
|
+
"type": "string"
|
|
9805
|
+
},
|
|
9806
|
+
"listings": {
|
|
9807
|
+
"type": "integer"
|
|
9808
|
+
},
|
|
9809
|
+
"p25": {
|
|
9810
|
+
"type": "number"
|
|
9811
|
+
},
|
|
9812
|
+
"p50": {
|
|
9813
|
+
"type": "number"
|
|
9814
|
+
},
|
|
9815
|
+
"p75": {
|
|
9816
|
+
"type": "number"
|
|
9817
|
+
}
|
|
9818
|
+
},
|
|
9819
|
+
"type": "object"
|
|
9820
|
+
},
|
|
9541
9821
|
"es.AppRecord": {
|
|
9542
9822
|
"properties": {
|
|
9543
9823
|
"android_max_installs": {
|
|
@@ -48059,6 +48339,393 @@
|
|
|
48059
48339
|
]
|
|
48060
48340
|
}
|
|
48061
48341
|
},
|
|
48342
|
+
"/datasets/airbnb-markets/facets": {
|
|
48343
|
+
"get": {
|
|
48344
|
+
"consumes": [
|
|
48345
|
+
"application/json"
|
|
48346
|
+
],
|
|
48347
|
+
"description": "Returns suppressed distribution counts over the Airbnb markets dataset, honoring the same filters as search. Facet enum: `country`, `market`, `currency`, `superhost`, `rating_band`, `review_band`. group_by enum: `country`, `market`.",
|
|
48348
|
+
"operationId": "datasets-airbnb-markets-facets",
|
|
48349
|
+
"parameters": [
|
|
48350
|
+
{
|
|
48351
|
+
"description": "Facet enum: country, market, currency, superhost, rating_band, review_band",
|
|
48352
|
+
"in": "query",
|
|
48353
|
+
"name": "facet",
|
|
48354
|
+
"required": true,
|
|
48355
|
+
"type": "string"
|
|
48356
|
+
},
|
|
48357
|
+
{
|
|
48358
|
+
"description": "Aggregate cell dimension enum: country, market. Defaults to country",
|
|
48359
|
+
"in": "query",
|
|
48360
|
+
"name": "group_by",
|
|
48361
|
+
"type": "string"
|
|
48362
|
+
},
|
|
48363
|
+
{
|
|
48364
|
+
"description": "Exact ISO-3166-1 alpha-2 country filter, e.g. FR",
|
|
48365
|
+
"in": "query",
|
|
48366
|
+
"name": "country",
|
|
48367
|
+
"type": "string"
|
|
48368
|
+
},
|
|
48369
|
+
{
|
|
48370
|
+
"description": "Exact metro-market filter, max 128 characters",
|
|
48371
|
+
"in": "query",
|
|
48372
|
+
"name": "market",
|
|
48373
|
+
"type": "string"
|
|
48374
|
+
},
|
|
48375
|
+
{
|
|
48376
|
+
"description": "Count only Superhost listings",
|
|
48377
|
+
"in": "query",
|
|
48378
|
+
"name": "superhost",
|
|
48379
|
+
"type": "boolean"
|
|
48380
|
+
},
|
|
48381
|
+
{
|
|
48382
|
+
"description": "Minimum listing rating, from 0 through 5",
|
|
48383
|
+
"in": "query",
|
|
48384
|
+
"name": "min_rating",
|
|
48385
|
+
"type": "number"
|
|
48386
|
+
},
|
|
48387
|
+
{
|
|
48388
|
+
"description": "Minimum listing review count, 0 or greater",
|
|
48389
|
+
"in": "query",
|
|
48390
|
+
"name": "min_review_count",
|
|
48391
|
+
"type": "integer"
|
|
48392
|
+
},
|
|
48393
|
+
{
|
|
48394
|
+
"description": "Freshness filter, an ISO-8601 date (YYYY-MM-DD)",
|
|
48395
|
+
"in": "query",
|
|
48396
|
+
"name": "active_since",
|
|
48397
|
+
"type": "string"
|
|
48398
|
+
},
|
|
48399
|
+
{
|
|
48400
|
+
"description": "Minimum listings per bucket; raises the small-cell suppression floor",
|
|
48401
|
+
"in": "query",
|
|
48402
|
+
"name": "min_listings",
|
|
48403
|
+
"type": "integer"
|
|
48404
|
+
}
|
|
48405
|
+
],
|
|
48406
|
+
"produces": [
|
|
48407
|
+
"application/json"
|
|
48408
|
+
],
|
|
48409
|
+
"responses": {
|
|
48410
|
+
"200": {
|
|
48411
|
+
"description": "OK",
|
|
48412
|
+
"schema": {
|
|
48413
|
+
"$ref": "#/definitions/datasets.airbnbMarketsFacetResponseDoc"
|
|
48414
|
+
}
|
|
48415
|
+
},
|
|
48416
|
+
"400": {
|
|
48417
|
+
"description": "Bad Request",
|
|
48418
|
+
"schema": {
|
|
48419
|
+
"$ref": "#/definitions/app.Response"
|
|
48420
|
+
}
|
|
48421
|
+
},
|
|
48422
|
+
"429": {
|
|
48423
|
+
"description": "Too Many Requests",
|
|
48424
|
+
"schema": {
|
|
48425
|
+
"$ref": "#/definitions/app.Response"
|
|
48426
|
+
}
|
|
48427
|
+
},
|
|
48428
|
+
"500": {
|
|
48429
|
+
"description": "Internal Server Error",
|
|
48430
|
+
"schema": {
|
|
48431
|
+
"$ref": "#/definitions/app.Response"
|
|
48432
|
+
}
|
|
48433
|
+
}
|
|
48434
|
+
},
|
|
48435
|
+
"security": [
|
|
48436
|
+
{
|
|
48437
|
+
"ApiKeyAuth": []
|
|
48438
|
+
}
|
|
48439
|
+
],
|
|
48440
|
+
"summary": "Facet the Airbnb markets dataset",
|
|
48441
|
+
"tags": [
|
|
48442
|
+
"Datasets"
|
|
48443
|
+
]
|
|
48444
|
+
}
|
|
48445
|
+
},
|
|
48446
|
+
"/datasets/airbnb-markets/items/{country}": {
|
|
48447
|
+
"get": {
|
|
48448
|
+
"consumes": [
|
|
48449
|
+
"application/json"
|
|
48450
|
+
],
|
|
48451
|
+
"description": "Returns one country's full aggregate Airbnb market profile from dataset id enum value `airbnb-markets` — headline supply, Superhost share, ratings, its top metros, bounding box and per-currency nightly-price percentiles. Aggregate-only. Returns 404 for a country below the suppression floor.",
|
|
48452
|
+
"operationId": "datasets-airbnb-markets-item",
|
|
48453
|
+
"parameters": [
|
|
48454
|
+
{
|
|
48455
|
+
"description": "ISO-3166-1 alpha-2 country code, e.g. FR",
|
|
48456
|
+
"in": "path",
|
|
48457
|
+
"name": "country",
|
|
48458
|
+
"required": true,
|
|
48459
|
+
"type": "string"
|
|
48460
|
+
}
|
|
48461
|
+
],
|
|
48462
|
+
"produces": [
|
|
48463
|
+
"application/json"
|
|
48464
|
+
],
|
|
48465
|
+
"responses": {
|
|
48466
|
+
"200": {
|
|
48467
|
+
"description": "OK",
|
|
48468
|
+
"schema": {
|
|
48469
|
+
"$ref": "#/definitions/datasets.airbnbMarketResponseDoc"
|
|
48470
|
+
}
|
|
48471
|
+
},
|
|
48472
|
+
"400": {
|
|
48473
|
+
"description": "Bad Request",
|
|
48474
|
+
"schema": {
|
|
48475
|
+
"$ref": "#/definitions/app.Response"
|
|
48476
|
+
}
|
|
48477
|
+
},
|
|
48478
|
+
"404": {
|
|
48479
|
+
"description": "Not Found",
|
|
48480
|
+
"schema": {
|
|
48481
|
+
"$ref": "#/definitions/app.Response"
|
|
48482
|
+
}
|
|
48483
|
+
},
|
|
48484
|
+
"429": {
|
|
48485
|
+
"description": "Too Many Requests",
|
|
48486
|
+
"schema": {
|
|
48487
|
+
"$ref": "#/definitions/app.Response"
|
|
48488
|
+
}
|
|
48489
|
+
},
|
|
48490
|
+
"500": {
|
|
48491
|
+
"description": "Internal Server Error",
|
|
48492
|
+
"schema": {
|
|
48493
|
+
"$ref": "#/definitions/app.Response"
|
|
48494
|
+
}
|
|
48495
|
+
}
|
|
48496
|
+
},
|
|
48497
|
+
"security": [
|
|
48498
|
+
{
|
|
48499
|
+
"ApiKeyAuth": []
|
|
48500
|
+
}
|
|
48501
|
+
],
|
|
48502
|
+
"summary": "Get an Airbnb market from the dataset",
|
|
48503
|
+
"tags": [
|
|
48504
|
+
"Datasets"
|
|
48505
|
+
]
|
|
48506
|
+
}
|
|
48507
|
+
},
|
|
48508
|
+
"/datasets/airbnb-markets/nearby": {
|
|
48509
|
+
"get": {
|
|
48510
|
+
"consumes": [
|
|
48511
|
+
"application/json"
|
|
48512
|
+
],
|
|
48513
|
+
"description": "Returns an aggregate geohash-grid density map of Airbnb listings within a radius of a coordinate, from dataset id enum value `airbnb-markets`. Each cell reports a centroid, listing count and Superhost share; thin cells are suppressed. Aggregate-only.",
|
|
48514
|
+
"operationId": "datasets-airbnb-markets-nearby",
|
|
48515
|
+
"parameters": [
|
|
48516
|
+
{
|
|
48517
|
+
"description": "Center latitude, from -90 through 90",
|
|
48518
|
+
"in": "query",
|
|
48519
|
+
"name": "lat",
|
|
48520
|
+
"required": true,
|
|
48521
|
+
"type": "number"
|
|
48522
|
+
},
|
|
48523
|
+
{
|
|
48524
|
+
"description": "Center longitude, from -180 through 180",
|
|
48525
|
+
"in": "query",
|
|
48526
|
+
"name": "lon",
|
|
48527
|
+
"required": true,
|
|
48528
|
+
"type": "number"
|
|
48529
|
+
},
|
|
48530
|
+
{
|
|
48531
|
+
"description": "Search radius in meters, from 1 through 50000",
|
|
48532
|
+
"in": "query",
|
|
48533
|
+
"name": "radius_m",
|
|
48534
|
+
"required": true,
|
|
48535
|
+
"type": "integer"
|
|
48536
|
+
},
|
|
48537
|
+
{
|
|
48538
|
+
"description": "Geohash precision, from 1 through 12; defaults to a value derived from the radius",
|
|
48539
|
+
"in": "query",
|
|
48540
|
+
"name": "precision",
|
|
48541
|
+
"type": "integer"
|
|
48542
|
+
},
|
|
48543
|
+
{
|
|
48544
|
+
"description": "Minimum listings per cell; raises the small-cell suppression floor",
|
|
48545
|
+
"in": "query",
|
|
48546
|
+
"name": "min_listings",
|
|
48547
|
+
"type": "integer"
|
|
48548
|
+
},
|
|
48549
|
+
{
|
|
48550
|
+
"description": "Exact ISO-3166-1 alpha-2 country filter, e.g. US",
|
|
48551
|
+
"in": "query",
|
|
48552
|
+
"name": "country",
|
|
48553
|
+
"type": "string"
|
|
48554
|
+
},
|
|
48555
|
+
{
|
|
48556
|
+
"description": "Count only Superhost listings",
|
|
48557
|
+
"in": "query",
|
|
48558
|
+
"name": "superhost",
|
|
48559
|
+
"type": "boolean"
|
|
48560
|
+
},
|
|
48561
|
+
{
|
|
48562
|
+
"description": "Minimum listing rating, from 0 through 5",
|
|
48563
|
+
"in": "query",
|
|
48564
|
+
"name": "min_rating",
|
|
48565
|
+
"type": "number"
|
|
48566
|
+
},
|
|
48567
|
+
{
|
|
48568
|
+
"description": "Freshness filter, an ISO-8601 date (YYYY-MM-DD)",
|
|
48569
|
+
"in": "query",
|
|
48570
|
+
"name": "active_since",
|
|
48571
|
+
"type": "string"
|
|
48572
|
+
}
|
|
48573
|
+
],
|
|
48574
|
+
"produces": [
|
|
48575
|
+
"application/json"
|
|
48576
|
+
],
|
|
48577
|
+
"responses": {
|
|
48578
|
+
"200": {
|
|
48579
|
+
"description": "OK",
|
|
48580
|
+
"schema": {
|
|
48581
|
+
"$ref": "#/definitions/datasets.airbnbMarketsNearbyResponseDoc"
|
|
48582
|
+
}
|
|
48583
|
+
},
|
|
48584
|
+
"400": {
|
|
48585
|
+
"description": "Bad Request",
|
|
48586
|
+
"schema": {
|
|
48587
|
+
"$ref": "#/definitions/app.Response"
|
|
48588
|
+
}
|
|
48589
|
+
},
|
|
48590
|
+
"429": {
|
|
48591
|
+
"description": "Too Many Requests",
|
|
48592
|
+
"schema": {
|
|
48593
|
+
"$ref": "#/definitions/app.Response"
|
|
48594
|
+
}
|
|
48595
|
+
},
|
|
48596
|
+
"500": {
|
|
48597
|
+
"description": "Internal Server Error",
|
|
48598
|
+
"schema": {
|
|
48599
|
+
"$ref": "#/definitions/app.Response"
|
|
48600
|
+
}
|
|
48601
|
+
}
|
|
48602
|
+
},
|
|
48603
|
+
"security": [
|
|
48604
|
+
{
|
|
48605
|
+
"ApiKeyAuth": []
|
|
48606
|
+
}
|
|
48607
|
+
],
|
|
48608
|
+
"summary": "Airbnb market density near a coordinate",
|
|
48609
|
+
"tags": [
|
|
48610
|
+
"Datasets"
|
|
48611
|
+
]
|
|
48612
|
+
}
|
|
48613
|
+
},
|
|
48614
|
+
"/datasets/airbnb-markets/search": {
|
|
48615
|
+
"get": {
|
|
48616
|
+
"consumes": [
|
|
48617
|
+
"application/json"
|
|
48618
|
+
],
|
|
48619
|
+
"description": "Returns aggregate Airbnb short-term-rental market rollups from the dataset id enum value `airbnb-markets`. Aggregate-only: each row is a market cell (a country or a metro), never an individual listing. Thin cells are suppressed. group_by enum: `country`, `market`. Sort enum: `listings_desc`, `superhost_pct_desc`, `rating_desc`, `key_asc`.",
|
|
48620
|
+
"operationId": "datasets-airbnb-markets-search",
|
|
48621
|
+
"parameters": [
|
|
48622
|
+
{
|
|
48623
|
+
"description": "Aggregate cell dimension enum: country, market. Defaults to country",
|
|
48624
|
+
"in": "query",
|
|
48625
|
+
"name": "group_by",
|
|
48626
|
+
"type": "string"
|
|
48627
|
+
},
|
|
48628
|
+
{
|
|
48629
|
+
"description": "Exact ISO-3166-1 alpha-2 country filter, e.g. FR",
|
|
48630
|
+
"in": "query",
|
|
48631
|
+
"name": "country",
|
|
48632
|
+
"type": "string"
|
|
48633
|
+
},
|
|
48634
|
+
{
|
|
48635
|
+
"description": "Exact metro-market filter, e.g. Paris, max 128 characters",
|
|
48636
|
+
"in": "query",
|
|
48637
|
+
"name": "market",
|
|
48638
|
+
"type": "string"
|
|
48639
|
+
},
|
|
48640
|
+
{
|
|
48641
|
+
"description": "Count only Superhost listings",
|
|
48642
|
+
"in": "query",
|
|
48643
|
+
"name": "superhost",
|
|
48644
|
+
"type": "boolean"
|
|
48645
|
+
},
|
|
48646
|
+
{
|
|
48647
|
+
"description": "Minimum listing rating, from 0 through 5",
|
|
48648
|
+
"in": "query",
|
|
48649
|
+
"name": "min_rating",
|
|
48650
|
+
"type": "number"
|
|
48651
|
+
},
|
|
48652
|
+
{
|
|
48653
|
+
"description": "Minimum listing review count, 0 or greater",
|
|
48654
|
+
"in": "query",
|
|
48655
|
+
"name": "min_review_count",
|
|
48656
|
+
"type": "integer"
|
|
48657
|
+
},
|
|
48658
|
+
{
|
|
48659
|
+
"description": "Freshness filter, an ISO-8601 date (YYYY-MM-DD); only listings last seen on or after it are counted",
|
|
48660
|
+
"in": "query",
|
|
48661
|
+
"name": "active_since",
|
|
48662
|
+
"type": "string"
|
|
48663
|
+
},
|
|
48664
|
+
{
|
|
48665
|
+
"description": "Minimum listings per cell; raises the small-cell suppression floor (never lowered below the built-in minimum)",
|
|
48666
|
+
"in": "query",
|
|
48667
|
+
"name": "min_listings",
|
|
48668
|
+
"type": "integer"
|
|
48669
|
+
},
|
|
48670
|
+
{
|
|
48671
|
+
"description": "Sort enum: listings_desc, superhost_pct_desc, rating_desc, key_asc",
|
|
48672
|
+
"in": "query",
|
|
48673
|
+
"name": "sort",
|
|
48674
|
+
"type": "string"
|
|
48675
|
+
},
|
|
48676
|
+
{
|
|
48677
|
+
"description": "Page number, defaults to 1",
|
|
48678
|
+
"in": "query",
|
|
48679
|
+
"name": "page",
|
|
48680
|
+
"type": "integer"
|
|
48681
|
+
},
|
|
48682
|
+
{
|
|
48683
|
+
"description": "Page size, defaults to 20 and maxes at 100; page * page_size must be <= 10000",
|
|
48684
|
+
"in": "query",
|
|
48685
|
+
"name": "page_size",
|
|
48686
|
+
"type": "integer"
|
|
48687
|
+
}
|
|
48688
|
+
],
|
|
48689
|
+
"produces": [
|
|
48690
|
+
"application/json"
|
|
48691
|
+
],
|
|
48692
|
+
"responses": {
|
|
48693
|
+
"200": {
|
|
48694
|
+
"description": "OK",
|
|
48695
|
+
"schema": {
|
|
48696
|
+
"$ref": "#/definitions/datasets.airbnbMarketsSearchResponseDoc"
|
|
48697
|
+
}
|
|
48698
|
+
},
|
|
48699
|
+
"400": {
|
|
48700
|
+
"description": "Bad Request",
|
|
48701
|
+
"schema": {
|
|
48702
|
+
"$ref": "#/definitions/app.Response"
|
|
48703
|
+
}
|
|
48704
|
+
},
|
|
48705
|
+
"429": {
|
|
48706
|
+
"description": "Too Many Requests",
|
|
48707
|
+
"schema": {
|
|
48708
|
+
"$ref": "#/definitions/app.Response"
|
|
48709
|
+
}
|
|
48710
|
+
},
|
|
48711
|
+
"500": {
|
|
48712
|
+
"description": "Internal Server Error",
|
|
48713
|
+
"schema": {
|
|
48714
|
+
"$ref": "#/definitions/app.Response"
|
|
48715
|
+
}
|
|
48716
|
+
}
|
|
48717
|
+
},
|
|
48718
|
+
"security": [
|
|
48719
|
+
{
|
|
48720
|
+
"ApiKeyAuth": []
|
|
48721
|
+
}
|
|
48722
|
+
],
|
|
48723
|
+
"summary": "Search the Airbnb markets dataset",
|
|
48724
|
+
"tags": [
|
|
48725
|
+
"Datasets"
|
|
48726
|
+
]
|
|
48727
|
+
}
|
|
48728
|
+
},
|
|
48062
48729
|
"/datasets/apps-charts/search": {
|
|
48063
48730
|
"get": {
|
|
48064
48731
|
"consumes": [
|
package/package.json
CHANGED
package/src/client.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { operations, groups } from "./operations.js";
|
|
2
2
|
|
|
3
3
|
const DEFAULT_BASE_URL = "https://api.crawlora.net/api/v1";
|
|
4
|
-
export const VERSION = "1.
|
|
4
|
+
export const VERSION = "1.10.0-sdk.1";
|
|
5
5
|
const DEFAULT_USER_AGENT = `crawlora-js-sdk/${VERSION}`;
|
|
6
6
|
|
|
7
7
|
export class CrawloraError extends Error {
|
package/src/operations.js
CHANGED
|
@@ -4270,6 +4270,237 @@ export const operations = {
|
|
|
4270
4270
|
"ApiKeyAuth"
|
|
4271
4271
|
]
|
|
4272
4272
|
},
|
|
4273
|
+
"datasets-airbnb-markets-facets": {
|
|
4274
|
+
"bodyParam": null,
|
|
4275
|
+
"bodyRequired": false,
|
|
4276
|
+
"consumes": [
|
|
4277
|
+
"application/json"
|
|
4278
|
+
],
|
|
4279
|
+
"formParams": [],
|
|
4280
|
+
"id": "datasets-airbnb-markets-facets",
|
|
4281
|
+
"method": "GET",
|
|
4282
|
+
"path": "/datasets/airbnb-markets/facets",
|
|
4283
|
+
"pathParams": [],
|
|
4284
|
+
"produces": [
|
|
4285
|
+
"application/json"
|
|
4286
|
+
],
|
|
4287
|
+
"queryParams": [
|
|
4288
|
+
{
|
|
4289
|
+
"in": "query",
|
|
4290
|
+
"name": "facet",
|
|
4291
|
+
"required": true,
|
|
4292
|
+
"type": "string"
|
|
4293
|
+
},
|
|
4294
|
+
{
|
|
4295
|
+
"in": "query",
|
|
4296
|
+
"name": "group_by",
|
|
4297
|
+
"type": "string"
|
|
4298
|
+
},
|
|
4299
|
+
{
|
|
4300
|
+
"in": "query",
|
|
4301
|
+
"name": "country",
|
|
4302
|
+
"type": "string"
|
|
4303
|
+
},
|
|
4304
|
+
{
|
|
4305
|
+
"in": "query",
|
|
4306
|
+
"name": "market",
|
|
4307
|
+
"type": "string"
|
|
4308
|
+
},
|
|
4309
|
+
{
|
|
4310
|
+
"in": "query",
|
|
4311
|
+
"name": "superhost",
|
|
4312
|
+
"type": "boolean"
|
|
4313
|
+
},
|
|
4314
|
+
{
|
|
4315
|
+
"in": "query",
|
|
4316
|
+
"name": "min_rating",
|
|
4317
|
+
"type": "number"
|
|
4318
|
+
},
|
|
4319
|
+
{
|
|
4320
|
+
"in": "query",
|
|
4321
|
+
"name": "min_review_count",
|
|
4322
|
+
"type": "integer"
|
|
4323
|
+
},
|
|
4324
|
+
{
|
|
4325
|
+
"in": "query",
|
|
4326
|
+
"name": "active_since",
|
|
4327
|
+
"type": "string"
|
|
4328
|
+
},
|
|
4329
|
+
{
|
|
4330
|
+
"in": "query",
|
|
4331
|
+
"name": "min_listings",
|
|
4332
|
+
"type": "integer"
|
|
4333
|
+
}
|
|
4334
|
+
],
|
|
4335
|
+
"security": [
|
|
4336
|
+
"ApiKeyAuth"
|
|
4337
|
+
]
|
|
4338
|
+
},
|
|
4339
|
+
"datasets-airbnb-markets-item": {
|
|
4340
|
+
"bodyParam": null,
|
|
4341
|
+
"bodyRequired": false,
|
|
4342
|
+
"consumes": [
|
|
4343
|
+
"application/json"
|
|
4344
|
+
],
|
|
4345
|
+
"formParams": [],
|
|
4346
|
+
"id": "datasets-airbnb-markets-item",
|
|
4347
|
+
"method": "GET",
|
|
4348
|
+
"path": "/datasets/airbnb-markets/items/{country}",
|
|
4349
|
+
"pathParams": [
|
|
4350
|
+
"country"
|
|
4351
|
+
],
|
|
4352
|
+
"produces": [
|
|
4353
|
+
"application/json"
|
|
4354
|
+
],
|
|
4355
|
+
"queryParams": [],
|
|
4356
|
+
"security": [
|
|
4357
|
+
"ApiKeyAuth"
|
|
4358
|
+
]
|
|
4359
|
+
},
|
|
4360
|
+
"datasets-airbnb-markets-nearby": {
|
|
4361
|
+
"bodyParam": null,
|
|
4362
|
+
"bodyRequired": false,
|
|
4363
|
+
"consumes": [
|
|
4364
|
+
"application/json"
|
|
4365
|
+
],
|
|
4366
|
+
"formParams": [],
|
|
4367
|
+
"id": "datasets-airbnb-markets-nearby",
|
|
4368
|
+
"method": "GET",
|
|
4369
|
+
"path": "/datasets/airbnb-markets/nearby",
|
|
4370
|
+
"pathParams": [],
|
|
4371
|
+
"produces": [
|
|
4372
|
+
"application/json"
|
|
4373
|
+
],
|
|
4374
|
+
"queryParams": [
|
|
4375
|
+
{
|
|
4376
|
+
"in": "query",
|
|
4377
|
+
"name": "lat",
|
|
4378
|
+
"required": true,
|
|
4379
|
+
"type": "number"
|
|
4380
|
+
},
|
|
4381
|
+
{
|
|
4382
|
+
"in": "query",
|
|
4383
|
+
"name": "lon",
|
|
4384
|
+
"required": true,
|
|
4385
|
+
"type": "number"
|
|
4386
|
+
},
|
|
4387
|
+
{
|
|
4388
|
+
"in": "query",
|
|
4389
|
+
"name": "radius_m",
|
|
4390
|
+
"required": true,
|
|
4391
|
+
"type": "integer"
|
|
4392
|
+
},
|
|
4393
|
+
{
|
|
4394
|
+
"in": "query",
|
|
4395
|
+
"name": "precision",
|
|
4396
|
+
"type": "integer"
|
|
4397
|
+
},
|
|
4398
|
+
{
|
|
4399
|
+
"in": "query",
|
|
4400
|
+
"name": "min_listings",
|
|
4401
|
+
"type": "integer"
|
|
4402
|
+
},
|
|
4403
|
+
{
|
|
4404
|
+
"in": "query",
|
|
4405
|
+
"name": "country",
|
|
4406
|
+
"type": "string"
|
|
4407
|
+
},
|
|
4408
|
+
{
|
|
4409
|
+
"in": "query",
|
|
4410
|
+
"name": "superhost",
|
|
4411
|
+
"type": "boolean"
|
|
4412
|
+
},
|
|
4413
|
+
{
|
|
4414
|
+
"in": "query",
|
|
4415
|
+
"name": "min_rating",
|
|
4416
|
+
"type": "number"
|
|
4417
|
+
},
|
|
4418
|
+
{
|
|
4419
|
+
"in": "query",
|
|
4420
|
+
"name": "active_since",
|
|
4421
|
+
"type": "string"
|
|
4422
|
+
}
|
|
4423
|
+
],
|
|
4424
|
+
"security": [
|
|
4425
|
+
"ApiKeyAuth"
|
|
4426
|
+
]
|
|
4427
|
+
},
|
|
4428
|
+
"datasets-airbnb-markets-search": {
|
|
4429
|
+
"bodyParam": null,
|
|
4430
|
+
"bodyRequired": false,
|
|
4431
|
+
"consumes": [
|
|
4432
|
+
"application/json"
|
|
4433
|
+
],
|
|
4434
|
+
"formParams": [],
|
|
4435
|
+
"id": "datasets-airbnb-markets-search",
|
|
4436
|
+
"method": "GET",
|
|
4437
|
+
"paginatable": true,
|
|
4438
|
+
"path": "/datasets/airbnb-markets/search",
|
|
4439
|
+
"pathParams": [],
|
|
4440
|
+
"produces": [
|
|
4441
|
+
"application/json"
|
|
4442
|
+
],
|
|
4443
|
+
"queryParams": [
|
|
4444
|
+
{
|
|
4445
|
+
"in": "query",
|
|
4446
|
+
"name": "group_by",
|
|
4447
|
+
"type": "string"
|
|
4448
|
+
},
|
|
4449
|
+
{
|
|
4450
|
+
"in": "query",
|
|
4451
|
+
"name": "country",
|
|
4452
|
+
"type": "string"
|
|
4453
|
+
},
|
|
4454
|
+
{
|
|
4455
|
+
"in": "query",
|
|
4456
|
+
"name": "market",
|
|
4457
|
+
"type": "string"
|
|
4458
|
+
},
|
|
4459
|
+
{
|
|
4460
|
+
"in": "query",
|
|
4461
|
+
"name": "superhost",
|
|
4462
|
+
"type": "boolean"
|
|
4463
|
+
},
|
|
4464
|
+
{
|
|
4465
|
+
"in": "query",
|
|
4466
|
+
"name": "min_rating",
|
|
4467
|
+
"type": "number"
|
|
4468
|
+
},
|
|
4469
|
+
{
|
|
4470
|
+
"in": "query",
|
|
4471
|
+
"name": "min_review_count",
|
|
4472
|
+
"type": "integer"
|
|
4473
|
+
},
|
|
4474
|
+
{
|
|
4475
|
+
"in": "query",
|
|
4476
|
+
"name": "active_since",
|
|
4477
|
+
"type": "string"
|
|
4478
|
+
},
|
|
4479
|
+
{
|
|
4480
|
+
"in": "query",
|
|
4481
|
+
"name": "min_listings",
|
|
4482
|
+
"type": "integer"
|
|
4483
|
+
},
|
|
4484
|
+
{
|
|
4485
|
+
"in": "query",
|
|
4486
|
+
"name": "sort",
|
|
4487
|
+
"type": "string"
|
|
4488
|
+
},
|
|
4489
|
+
{
|
|
4490
|
+
"in": "query",
|
|
4491
|
+
"name": "page",
|
|
4492
|
+
"type": "integer"
|
|
4493
|
+
},
|
|
4494
|
+
{
|
|
4495
|
+
"in": "query",
|
|
4496
|
+
"name": "page_size",
|
|
4497
|
+
"type": "integer"
|
|
4498
|
+
}
|
|
4499
|
+
],
|
|
4500
|
+
"security": [
|
|
4501
|
+
"ApiKeyAuth"
|
|
4502
|
+
]
|
|
4503
|
+
},
|
|
4273
4504
|
"datasets-apps-charts-search": {
|
|
4274
4505
|
"bodyParam": null,
|
|
4275
4506
|
"bodyRequired": false,
|
|
@@ -20359,6 +20590,10 @@ export const groups = {
|
|
|
20359
20590
|
"trending": "coingecko-trending"
|
|
20360
20591
|
},
|
|
20361
20592
|
"datasets": {
|
|
20593
|
+
"airbnbMarketsFacets": "datasets-airbnb-markets-facets",
|
|
20594
|
+
"airbnbMarketsItem": "datasets-airbnb-markets-item",
|
|
20595
|
+
"airbnbMarketsNearby": "datasets-airbnb-markets-nearby",
|
|
20596
|
+
"airbnbMarketsSearch": "datasets-airbnb-markets-search",
|
|
20362
20597
|
"appsChartsSearch": "datasets-apps-charts-search",
|
|
20363
20598
|
"appsReviewsSearch": "datasets-apps-reviews-search",
|
|
20364
20599
|
"appsSearch": "datasets-apps-search",
|
|
@@ -20870,7 +21105,7 @@ export const groups = {
|
|
|
20870
21105
|
}
|
|
20871
21106
|
};
|
|
20872
21107
|
|
|
20873
|
-
export const operationCount =
|
|
21108
|
+
export const operationCount = 529;
|
|
20874
21109
|
|
|
20875
21110
|
// PascalCase aliases for every operation id, for discoverable, typo-safe
|
|
20876
21111
|
// dynamic calls: client.request(OperationIds.BingSearch, { q: "coffee" }).
|
|
@@ -20958,6 +21193,10 @@ export const OperationIds = Object.freeze({
|
|
|
20958
21193
|
"CoinGeckoTokenUnlocks": "coingecko-token-unlocks",
|
|
20959
21194
|
"CoinGeckoTreasuries": "coingecko-treasuries",
|
|
20960
21195
|
"CoinGeckoTrending": "coingecko-trending",
|
|
21196
|
+
"DatasetsAirbnbMarketsFacets": "datasets-airbnb-markets-facets",
|
|
21197
|
+
"DatasetsAirbnbMarketsItem": "datasets-airbnb-markets-item",
|
|
21198
|
+
"DatasetsAirbnbMarketsNearby": "datasets-airbnb-markets-nearby",
|
|
21199
|
+
"DatasetsAirbnbMarketsSearch": "datasets-airbnb-markets-search",
|
|
20961
21200
|
"DatasetsAppsChartsSearch": "datasets-apps-charts-search",
|
|
20962
21201
|
"DatasetsAppsReviewsSearch": "datasets-apps-reviews-search",
|
|
20963
21202
|
"DatasetsAppsSearch": "datasets-apps-search",
|
package/src/types.d.ts
CHANGED
|
@@ -2565,6 +2565,33 @@ export interface ModelContactContactResponseDoc {
|
|
|
2565
2565
|
"msg"?: string;
|
|
2566
2566
|
}
|
|
2567
2567
|
|
|
2568
|
+
export interface ModelDatasetsAirbnbMarketFacetResponse {
|
|
2569
|
+
"dataset"?: string;
|
|
2570
|
+
"facet"?: string;
|
|
2571
|
+
"items"?: Array<ModelEsAirbnbMarketFacetItem>;
|
|
2572
|
+
}
|
|
2573
|
+
|
|
2574
|
+
export interface ModelDatasetsAirbnbMarketNearbyResponse {
|
|
2575
|
+
"cells"?: Array<ModelEsAirbnbDensityCell>;
|
|
2576
|
+
"dataset"?: string;
|
|
2577
|
+
"lat"?: number;
|
|
2578
|
+
"lon"?: number;
|
|
2579
|
+
"precision"?: number;
|
|
2580
|
+
"radius_m"?: number;
|
|
2581
|
+
"total"?: number;
|
|
2582
|
+
}
|
|
2583
|
+
|
|
2584
|
+
export interface ModelDatasetsAirbnbMarketSearchResponse {
|
|
2585
|
+
"dataset"?: string;
|
|
2586
|
+
"group_by"?: string;
|
|
2587
|
+
"items"?: Array<ModelEsAirbnbMarketCell>;
|
|
2588
|
+
"min_listings"?: number;
|
|
2589
|
+
"page"?: number;
|
|
2590
|
+
"page_size"?: number;
|
|
2591
|
+
"sort"?: string;
|
|
2592
|
+
"total"?: number;
|
|
2593
|
+
}
|
|
2594
|
+
|
|
2568
2595
|
export interface ModelDatasetsAppsSearchResponse {
|
|
2569
2596
|
"dataset"?: string;
|
|
2570
2597
|
"items"?: Array<ModelEsAppRecord>;
|
|
@@ -2643,6 +2670,30 @@ export interface ModelDatasetsReviewsSearchResponse {
|
|
|
2643
2670
|
"total"?: number;
|
|
2644
2671
|
}
|
|
2645
2672
|
|
|
2673
|
+
export interface ModelDatasetsAirbnbMarketResponseDoc {
|
|
2674
|
+
"code"?: number;
|
|
2675
|
+
"data"?: ModelEsAirbnbMarketDetail;
|
|
2676
|
+
"msg"?: string;
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2679
|
+
export interface ModelDatasetsAirbnbMarketsFacetResponseDoc {
|
|
2680
|
+
"code"?: number;
|
|
2681
|
+
"data"?: ModelDatasetsAirbnbMarketFacetResponse;
|
|
2682
|
+
"msg"?: string;
|
|
2683
|
+
}
|
|
2684
|
+
|
|
2685
|
+
export interface ModelDatasetsAirbnbMarketsNearbyResponseDoc {
|
|
2686
|
+
"code"?: number;
|
|
2687
|
+
"data"?: ModelDatasetsAirbnbMarketNearbyResponse;
|
|
2688
|
+
"msg"?: string;
|
|
2689
|
+
}
|
|
2690
|
+
|
|
2691
|
+
export interface ModelDatasetsAirbnbMarketsSearchResponseDoc {
|
|
2692
|
+
"code"?: number;
|
|
2693
|
+
"data"?: ModelDatasetsAirbnbMarketSearchResponse;
|
|
2694
|
+
"msg"?: string;
|
|
2695
|
+
}
|
|
2696
|
+
|
|
2646
2697
|
export interface ModelDatasetsAppsSearchResponseDoc {
|
|
2647
2698
|
"code"?: number;
|
|
2648
2699
|
"data"?: ModelDatasetsAppsSearchResponse;
|
|
@@ -2897,6 +2948,58 @@ export interface ModelEbaySellerShopResponseDoc {
|
|
|
2897
2948
|
"msg"?: unknown;
|
|
2898
2949
|
}
|
|
2899
2950
|
|
|
2951
|
+
export interface ModelEsAirbnbDensityCell {
|
|
2952
|
+
"geohash"?: string;
|
|
2953
|
+
"lat"?: number;
|
|
2954
|
+
"listings"?: number;
|
|
2955
|
+
"lon"?: number;
|
|
2956
|
+
"superhost_listings"?: number;
|
|
2957
|
+
"superhost_pct"?: number;
|
|
2958
|
+
}
|
|
2959
|
+
|
|
2960
|
+
export interface ModelEsAirbnbGeoBounds {
|
|
2961
|
+
"bottom_right"?: ModelEsGeoPoint;
|
|
2962
|
+
"top_left"?: ModelEsGeoPoint;
|
|
2963
|
+
}
|
|
2964
|
+
|
|
2965
|
+
export interface ModelEsAirbnbMarketCell {
|
|
2966
|
+
"avg_rating"?: number;
|
|
2967
|
+
"avg_review_count"?: number;
|
|
2968
|
+
"key"?: string;
|
|
2969
|
+
"last_seen"?: string;
|
|
2970
|
+
"listings"?: number;
|
|
2971
|
+
"rated_listings"?: number;
|
|
2972
|
+
"superhost_listings"?: number;
|
|
2973
|
+
"superhost_pct"?: number;
|
|
2974
|
+
}
|
|
2975
|
+
|
|
2976
|
+
export interface ModelEsAirbnbMarketDetail {
|
|
2977
|
+
"avg_rating"?: number;
|
|
2978
|
+
"avg_review_count"?: number;
|
|
2979
|
+
"bounds"?: ModelEsAirbnbGeoBounds;
|
|
2980
|
+
"country"?: string;
|
|
2981
|
+
"currencies"?: Array<ModelEsAirbnbPriceStats>;
|
|
2982
|
+
"last_seen"?: string;
|
|
2983
|
+
"listings"?: number;
|
|
2984
|
+
"metros"?: Array<ModelEsAirbnbMarketCell>;
|
|
2985
|
+
"rated_listings"?: number;
|
|
2986
|
+
"superhost_listings"?: number;
|
|
2987
|
+
"superhost_pct"?: number;
|
|
2988
|
+
}
|
|
2989
|
+
|
|
2990
|
+
export interface ModelEsAirbnbMarketFacetItem {
|
|
2991
|
+
"count"?: number;
|
|
2992
|
+
"value"?: string;
|
|
2993
|
+
}
|
|
2994
|
+
|
|
2995
|
+
export interface ModelEsAirbnbPriceStats {
|
|
2996
|
+
"currency"?: string;
|
|
2997
|
+
"listings"?: number;
|
|
2998
|
+
"p25"?: number;
|
|
2999
|
+
"p50"?: number;
|
|
3000
|
+
"p75"?: number;
|
|
3001
|
+
}
|
|
3002
|
+
|
|
2900
3003
|
export interface ModelEsAppRecord {
|
|
2901
3004
|
"android_max_installs"?: number;
|
|
2902
3005
|
"android_package"?: string;
|
|
@@ -12869,6 +12972,52 @@ export type DatasetsListResponse = CrawloraResponse<ModelDatasetsListResponseDoc
|
|
|
12869
12972
|
export interface DatasetsListParams {
|
|
12870
12973
|
}
|
|
12871
12974
|
|
|
12975
|
+
export type DatasetsAirbnbMarketsFacetsResponse = CrawloraResponse<ModelDatasetsAirbnbMarketsFacetResponseDoc>;
|
|
12976
|
+
export interface DatasetsAirbnbMarketsFacetsParams {
|
|
12977
|
+
"facet": string;
|
|
12978
|
+
"group_by"?: string;
|
|
12979
|
+
"country"?: string;
|
|
12980
|
+
"market"?: string;
|
|
12981
|
+
"superhost"?: boolean;
|
|
12982
|
+
"min_rating"?: number;
|
|
12983
|
+
"min_review_count"?: number;
|
|
12984
|
+
"active_since"?: string;
|
|
12985
|
+
"min_listings"?: number;
|
|
12986
|
+
}
|
|
12987
|
+
|
|
12988
|
+
export type DatasetsAirbnbMarketsItemResponse = CrawloraResponse<ModelDatasetsAirbnbMarketResponseDoc>;
|
|
12989
|
+
export interface DatasetsAirbnbMarketsItemParams {
|
|
12990
|
+
"country": string;
|
|
12991
|
+
}
|
|
12992
|
+
|
|
12993
|
+
export type DatasetsAirbnbMarketsNearbyResponse = CrawloraResponse<ModelDatasetsAirbnbMarketsNearbyResponseDoc>;
|
|
12994
|
+
export interface DatasetsAirbnbMarketsNearbyParams {
|
|
12995
|
+
"lat": number;
|
|
12996
|
+
"lon": number;
|
|
12997
|
+
"radius_m": number;
|
|
12998
|
+
"precision"?: number;
|
|
12999
|
+
"min_listings"?: number;
|
|
13000
|
+
"country"?: string;
|
|
13001
|
+
"superhost"?: boolean;
|
|
13002
|
+
"min_rating"?: number;
|
|
13003
|
+
"active_since"?: string;
|
|
13004
|
+
}
|
|
13005
|
+
|
|
13006
|
+
export type DatasetsAirbnbMarketsSearchResponse = CrawloraResponse<ModelDatasetsAirbnbMarketsSearchResponseDoc>;
|
|
13007
|
+
export interface DatasetsAirbnbMarketsSearchParams {
|
|
13008
|
+
"group_by"?: string;
|
|
13009
|
+
"country"?: string;
|
|
13010
|
+
"market"?: string;
|
|
13011
|
+
"superhost"?: boolean;
|
|
13012
|
+
"min_rating"?: number;
|
|
13013
|
+
"min_review_count"?: number;
|
|
13014
|
+
"active_since"?: string;
|
|
13015
|
+
"min_listings"?: number;
|
|
13016
|
+
"sort"?: string;
|
|
13017
|
+
"page"?: number;
|
|
13018
|
+
"page_size"?: number;
|
|
13019
|
+
}
|
|
13020
|
+
|
|
12872
13021
|
export type DatasetsAppsChartsSearchResponse = CrawloraResponse<ModelDatasetsChartsSearchResponseDoc>;
|
|
12873
13022
|
export interface DatasetsAppsChartsSearchParams {
|
|
12874
13023
|
"q"?: string;
|
|
@@ -16133,6 +16282,10 @@ export interface WebService {
|
|
|
16133
16282
|
|
|
16134
16283
|
export interface DatasetsService {
|
|
16135
16284
|
list<T = DatasetsListResponse>(params?: DatasetsListParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
16285
|
+
airbnbMarketsFacets<T = DatasetsAirbnbMarketsFacetsResponse>(params: DatasetsAirbnbMarketsFacetsParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
16286
|
+
airbnbMarketsItem<T = DatasetsAirbnbMarketsItemResponse>(params: DatasetsAirbnbMarketsItemParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
16287
|
+
airbnbMarketsNearby<T = DatasetsAirbnbMarketsNearbyResponse>(params: DatasetsAirbnbMarketsNearbyParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
16288
|
+
airbnbMarketsSearch<T = DatasetsAirbnbMarketsSearchResponse>(params?: DatasetsAirbnbMarketsSearchParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
16136
16289
|
appsChartsSearch<T = DatasetsAppsChartsSearchResponse>(params?: DatasetsAppsChartsSearchParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
16137
16290
|
appsReviewsSearch<T = DatasetsAppsReviewsSearchResponse>(params?: DatasetsAppsReviewsSearchParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
16138
16291
|
appsSearch<T = DatasetsAppsSearchResponse>(params?: DatasetsAppsSearchParams, options?: import('./index.js').CrawloraRequestOptions): Promise<T>;
|
|
@@ -16802,6 +16955,10 @@ export interface OperationParamsMap {
|
|
|
16802
16955
|
"coingecko-trending": CoinGeckoTrendingParams;
|
|
16803
16956
|
"contact": WebContactParams;
|
|
16804
16957
|
"datasets-list": DatasetsListParams;
|
|
16958
|
+
"datasets-airbnb-markets-facets": DatasetsAirbnbMarketsFacetsParams;
|
|
16959
|
+
"datasets-airbnb-markets-item": DatasetsAirbnbMarketsItemParams;
|
|
16960
|
+
"datasets-airbnb-markets-nearby": DatasetsAirbnbMarketsNearbyParams;
|
|
16961
|
+
"datasets-airbnb-markets-search": DatasetsAirbnbMarketsSearchParams;
|
|
16805
16962
|
"datasets-apps-charts-search": DatasetsAppsChartsSearchParams;
|
|
16806
16963
|
"datasets-apps-reviews-search": DatasetsAppsReviewsSearchParams;
|
|
16807
16964
|
"datasets-apps-search": DatasetsAppsSearchParams;
|
|
@@ -17330,6 +17487,10 @@ export interface OperationResponseMap {
|
|
|
17330
17487
|
"coingecko-trending": CoinGeckoTrendingResponse;
|
|
17331
17488
|
"contact": WebContactResponse;
|
|
17332
17489
|
"datasets-list": DatasetsListResponse;
|
|
17490
|
+
"datasets-airbnb-markets-facets": DatasetsAirbnbMarketsFacetsResponse;
|
|
17491
|
+
"datasets-airbnb-markets-item": DatasetsAirbnbMarketsItemResponse;
|
|
17492
|
+
"datasets-airbnb-markets-nearby": DatasetsAirbnbMarketsNearbyResponse;
|
|
17493
|
+
"datasets-airbnb-markets-search": DatasetsAirbnbMarketsSearchResponse;
|
|
17333
17494
|
"datasets-apps-charts-search": DatasetsAppsChartsSearchResponse;
|
|
17334
17495
|
"datasets-apps-reviews-search": DatasetsAppsReviewsSearchResponse;
|
|
17335
17496
|
"datasets-apps-search": DatasetsAppsSearchResponse;
|
|
@@ -17858,6 +18019,10 @@ export interface OperationRequiredParamsMap {
|
|
|
17858
18019
|
"coingecko-trending": false;
|
|
17859
18020
|
"contact": true;
|
|
17860
18021
|
"datasets-list": false;
|
|
18022
|
+
"datasets-airbnb-markets-facets": true;
|
|
18023
|
+
"datasets-airbnb-markets-item": true;
|
|
18024
|
+
"datasets-airbnb-markets-nearby": true;
|
|
18025
|
+
"datasets-airbnb-markets-search": false;
|
|
17861
18026
|
"datasets-apps-charts-search": false;
|
|
17862
18027
|
"datasets-apps-reviews-search": false;
|
|
17863
18028
|
"datasets-apps-search": false;
|
|
@@ -18393,6 +18558,10 @@ export type OperationIdLiteral =
|
|
|
18393
18558
|
| "coingecko-trending"
|
|
18394
18559
|
| "contact"
|
|
18395
18560
|
| "datasets-list"
|
|
18561
|
+
| "datasets-airbnb-markets-facets"
|
|
18562
|
+
| "datasets-airbnb-markets-item"
|
|
18563
|
+
| "datasets-airbnb-markets-nearby"
|
|
18564
|
+
| "datasets-airbnb-markets-search"
|
|
18396
18565
|
| "datasets-apps-charts-search"
|
|
18397
18566
|
| "datasets-apps-reviews-search"
|
|
18398
18567
|
| "datasets-apps-search"
|
|
@@ -18918,6 +19087,10 @@ export declare const OperationIds: Readonly<{
|
|
|
18918
19087
|
CoinGeckoTokenUnlocks: "coingecko-token-unlocks";
|
|
18919
19088
|
CoinGeckoTreasuries: "coingecko-treasuries";
|
|
18920
19089
|
CoinGeckoTrending: "coingecko-trending";
|
|
19090
|
+
DatasetsAirbnbMarketsFacets: "datasets-airbnb-markets-facets";
|
|
19091
|
+
DatasetsAirbnbMarketsItem: "datasets-airbnb-markets-item";
|
|
19092
|
+
DatasetsAirbnbMarketsNearby: "datasets-airbnb-markets-nearby";
|
|
19093
|
+
DatasetsAirbnbMarketsSearch: "datasets-airbnb-markets-search";
|
|
18921
19094
|
DatasetsAppsChartsSearch: "datasets-apps-charts-search";
|
|
18922
19095
|
DatasetsAppsReviewsSearch: "datasets-apps-reviews-search";
|
|
18923
19096
|
DatasetsAppsSearch: "datasets-apps-search";
|