@crawlora-org/sdk 1.7.0-sdk.1 → 1.8.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 +10 -0
- package/README.md +1 -1
- package/docs/operations.md +9 -1
- package/openapi/public.json +1882 -523
- package/package.json +1 -1
- package/src/client.js +1 -1
- package/src/operations.js +262 -1
- package/src/types.d.ts +362 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v1.8.0-sdk.1
|
|
4
|
+
|
|
5
|
+
- Added two new platforms, regenerated from the public API contract (now 499
|
|
6
|
+
operations): **Redfin** (real-estate `search`, `property`, `estimate`,
|
|
7
|
+
`region-trends`, `similar`) and **Web** (generic `web-scrape`, `contact`, and
|
|
8
|
+
the `antibot-check` diagnostic).
|
|
9
|
+
- Refreshed response schemas: `contact` gains `crawl_status`, `web-scrape` gains
|
|
10
|
+
`cache_state`/`cached_at`/`max_age`, and the Spotify country-hub responses gain
|
|
11
|
+
`partialErrors`.
|
|
12
|
+
|
|
3
13
|
## v1.7.0-sdk.1
|
|
4
14
|
|
|
5
15
|
- Added six new platforms, regenerated from the public API contract (now 491
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Official JavaScript and TypeScript client for the public Crawlora API. Use it
|
|
4
4
|
to call Crawlora scraping, search, social, marketplace, media, maps, finance,
|
|
5
|
-
brand, and usage endpoints with a small `fetch`-based client and generated
|
|
5
|
+
prediction-market, brand, and usage endpoints with a small `fetch`-based client and generated
|
|
6
6
|
TypeScript types.
|
|
7
7
|
|
|
8
8
|
- Runtime: Node.js 18+ or any modern runtime with `fetch`
|
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: `499`
|
|
6
6
|
|
|
7
7
|
| Group | SDK method | Operation ID | HTTP | Params | Auth | Response | Notes |
|
|
8
8
|
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
@@ -89,6 +89,9 @@ Total operations: `491`
|
|
|
89
89
|
| coinGecko | `coinGecko.tokenUnlocks` | `coingecko-token-unlocks` | `GET /coingecko/token-unlocks` | `limit` (query number) | `ApiKeyAuth` | `CoinGeckoTokenUnlocksResponse` | |
|
|
90
90
|
| coinGecko | `coinGecko.treasuries` | `coingecko-treasuries` | `GET /coingecko/treasuries` | `asset` (query "all" \| "bitcoin" \| "ethereum" \| "solana" \| "bnb" \| "xrp" \| "tron")<br>`holder_type` (query "all" \| "companies" \| "governments")<br>`limit` (query number)<br>`vs_currency` (query "btc" \| "eth" \| "ltc" \| "bch" \| "bnb" \| "eos" \| "xrp" \| "xlm" \| "link" \| "dot" \| "yfi" \| "sol" \| "usd" \| "aed" \| "ars" \| "aud" \| "bdt" \| "bhd" \| "bmd" \| "brl" \| "cad" \| "chf" \| "clp" \| "cny" \| "czk" \| "dkk" \| "eur" \| "gbp" \| "gel" \| "hkd" \| "huf" \| "idr" \| "ils" \| "inr" \| "jpy" \| "krw" \| "kwd" \| "lkr" \| "mmk" \| "mxn" \| "myr" \| "ngn" \| "nok" \| "nzd" \| "php" \| "pkr" \| "pln" \| "rub" \| "sar" \| "sek" \| "sgd" \| "thb" \| "try" \| "twd" \| "uah" \| "vef" \| "vnd" \| "zar" \| "xdr" \| "xag" \| "xau" \| "bits" \| "sats") | `ApiKeyAuth` | `CoinGeckoTreasuriesResponse` | |
|
|
91
91
|
| coinGecko | `coinGecko.trending` | `coingecko-trending` | `GET /coingecko/trending` | `limit` (query number)<br>`vs_currency` (query "btc" \| "eth" \| "ltc" \| "bch" \| "bnb" \| "eos" \| "xrp" \| "xlm" \| "link" \| "dot" \| "yfi" \| "sol" \| "usd" \| "aed" \| "ars" \| "aud" \| "bdt" \| "bhd" \| "bmd" \| "brl" \| "cad" \| "chf" \| "clp" \| "cny" \| "czk" \| "dkk" \| "eur" \| "gbp" \| "gel" \| "hkd" \| "huf" \| "idr" \| "ils" \| "inr" \| "jpy" \| "krw" \| "kwd" \| "lkr" \| "mmk" \| "mxn" \| "myr" \| "ngn" \| "nok" \| "nzd" \| "php" \| "pkr" \| "pln" \| "rub" \| "sar" \| "sek" \| "sgd" \| "thb" \| "try" \| "twd" \| "uah" \| "vef" \| "vnd" \| "zar" \| "xdr" \| "xag" \| "xau" \| "bits" \| "sats") | `ApiKeyAuth` | `CoinGeckoTrendingResponse` | |
|
|
92
|
+
| web | `web.contact` | `contact` | `POST /contact` | `option` (body string required) | `ApiKeyAuth` | `WebContactResponse` | |
|
|
93
|
+
| web | `web.antibotCheck` | `antibot-check` | `POST /diagnostics/antibot-check` | `request` (body string required) | `ApiKeyAuth` | `WebAntibotCheckResponse` | |
|
|
94
|
+
| web | `web.scrape` | `web-scrape` | `POST /web/scrape` | `scrapeOption` (body string required) | `ApiKeyAuth` | `WebScrapeResponse` | |
|
|
92
95
|
| datasets | `datasets.list` | `datasets-list` | `GET /datasets` | none | `ApiKeyAuth` | `DatasetsListResponse` | |
|
|
93
96
|
| datasets | `datasets.googleMapBusinessesFacets` | `datasets-google-map-businesses-facets` | `GET /datasets/google-map-businesses/facets` | `facet` (query string required)<br>`q` (query string)<br>`category` (query string)<br>`country` (query string)<br>`state` (query string)<br>`county` (query string)<br>`city` (query string)<br>`town` (query string)<br>`min_rating` (query number)<br>`min_review_count` (query number)<br>`has_website` (query boolean)<br>`has_phone` (query boolean)<br>`lat` (query number)<br>`lon` (query number)<br>`radius_m` (query number)<br>`sort` (query string) | `ApiKeyAuth` | `DatasetsGoogleMapBusinessesFacetsResponse` | |
|
|
94
97
|
| datasets | `datasets.googleMapBusinessesItem` | `datasets-google-map-businesses-item` | `GET /datasets/google-map-businesses/items/{place_id}` | `place_id` (path string required) | `ApiKeyAuth` | `DatasetsGoogleMapBusinessesItemResponse` | |
|
|
@@ -318,6 +321,11 @@ Total operations: `491`
|
|
|
318
321
|
| reddit | `reddit.trends` | `reddit-trends` | `GET /reddit/trends` | `sort` (query "hot" \| "new" \| "rising" \| "top")<br>`time` (query "hour" \| "day" \| "week" \| "month" \| "year" \| "all")<br>`limit` (query number)<br>`after` (query string) | `ApiKeyAuth` | `RedditTrendsResponse` | |
|
|
319
322
|
| reddit | `reddit.userComments` | `reddit-user-comments` | `GET /reddit/user/{username}/comments` | `username` (path string required)<br>`limit` (query number)<br>`after` (query string) | `ApiKeyAuth` | `RedditUserCommentsResponse` | |
|
|
320
323
|
| reddit | `reddit.userPosts` | `reddit-user-posts` | `GET /reddit/user/{username}/posts` | `username` (path string required)<br>`limit` (query number)<br>`after` (query string) | `ApiKeyAuth` | `RedditUserPostsResponse` | |
|
|
324
|
+
| redfin | `redfin.estimate` | `redfin-estimate` | `GET /redfin/estimate` | `property_id` (query string required) | `ApiKeyAuth` | `RedfinEstimateResponse` | |
|
|
325
|
+
| redfin | `redfin.property` | `redfin-property` | `GET /redfin/property` | `url` (query string)<br>`property_id` (query string)<br>`listing_id` (query string) | `ApiKeyAuth` | `RedfinPropertyResponse` | |
|
|
326
|
+
| redfin | `redfin.regionTrends` | `redfin-region-trends` | `GET /redfin/region-trends` | `region_id` (query number required)<br>`region_type` (query number) | `ApiKeyAuth` | `RedfinRegionTrendsResponse` | |
|
|
327
|
+
| redfin | `redfin.search` | `redfin-search` | `GET /redfin/search` | `location` (query string)<br>`page` (query number)<br>`region_id` (query number)<br>`region_type` (query number)<br>`status` (query string)<br>`min_price` (query number)<br>`max_price` (query number)<br>`min_beds` (query number)<br>`min_baths` (query number) | `ApiKeyAuth` | `RedfinSearchResponse` | |
|
|
328
|
+
| redfin | `redfin.similar` | `redfin-similar` | `GET /redfin/similar` | `property_id` (query string required) | `ApiKeyAuth` | `RedfinSimilarResponse` | |
|
|
321
329
|
| referrals | `referrals.click` | `referrals-click` | `POST /referrals/click` | `request` (body string required) | none | `ReferralsClickResponse` | |
|
|
322
330
|
| referrals | `referrals.me` | `referrals-me` | `GET /referrals/me` | none | `JWTAuth` | `ReferralsMeResponse` | |
|
|
323
331
|
| referrals | `referrals.meEvents` | `referrals-me-events` | `GET /referrals/me/events` | `limit` (query number) | `JWTAuth` | `ReferralsMeEventsResponse` | |
|