scrapebadger 0.73.0 → 0.74.0
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/README.md +2 -0
- package/dist/index.cjs +24 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.mjs +24 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -104,6 +104,7 @@ Etsy and AliExpress category navigation is separate from search: their search me
|
|
|
104
104
|
| **Vinted** | Search items, get details, user profiles, and reference data across all Vinted markets | [Vinted Guide](docs/vinted.md) |
|
|
105
105
|
| **Wallapop** | 10 endpoints across 3 markets (es, it, pt) — listing search with Wallapop's own filters (incl. cars: year, km, gearbox, horsepower), listing detail, seller profile/listings/reviews, autocomplete, categories, search filters and filter options, markets | [Wallapop Docs](https://docs.scrapebadger.com/wallapop/overview) |
|
|
106
106
|
| **Reddit** | Search posts/subreddits/users, subreddit details, post comments, user profiles, wiki pages, trophies | [Reddit Guide](docs/reddit.md) |
|
|
107
|
+
| **GitHub** | 2 endpoints — public user and organization profiles (overview with README and contributions, repositories, and user stars tabs) and public repository detail (identity, fork comparison, latest commit and checks, README, root files, languages, latest release, contributors, dependents, funding, community files). E.g. `client.github.getRepository("octocat", "Hello-World")` | [GitHub Docs](https://docs.scrapebadger.com/github/overview) |
|
|
107
108
|
| **Instagram** | User profile/about/related/posts/videos/reels/tagged/pinned/followers/following/stories/highlights, media detail/comments/replies/likers/oEmbed, search (users/hashtags/places/top/reels/music/autocomplete), hashtag/location/audio feeds | [Instagram Guide](docs/instagram.md) |
|
|
108
109
|
| **Amazon** | 14 endpoints — search, autocomplete, product detail, offers, reviews, bestsellers, new releases, deals, category browse, seller profile/products/feedback, markets, categories | [Amazon Guide](docs/amazon.md) |
|
|
109
110
|
| **Shopee** | 6 endpoints across 11 markets (sg, my, ph, id, vn, th, tw, br, co, cl, mx) — product search, category items, product detail, reviews, category tree, markets | [Shopee Guide](docs/shopee.md) |
|
|
@@ -112,6 +113,7 @@ Etsy and AliExpress category navigation is separate from search: their search me
|
|
|
112
113
|
| **Walmart** | 11 endpoints (walmart.com, US-only) — search, category browse, deals feed, autocomplete, product detail, reviews, seller profile/products, store detail with nearby stores, markets |
|
|
113
114
|
| **Gumtree** | 9 endpoints across gumtree.com, gumtree.com.au and gumtree.co.za (`market: "uk"` default, `"au"`, `"za"`) — search (category, location/postcode radius, price, seller type, urgent/photos, category-specific filters), search filters with live counts, listing detail (full vehicle spec, seller rating/verification, masked phone), seller listings, keyword and location autocomplete, location and category trees, markets. E.g. `client.gumtree.search({ market: "au", category: "18320", location: "3003435", distance: 10 })` or `client.gumtree.search({ market: "za", category: "p6dnh", location: "dkp8y" })` (za ids are refs) | [Gumtree Docs](https://docs.scrapebadger.com/gumtree/overview) |
|
|
114
115
|
| **AutoScout24** | 4 endpoints — search, listing detail (URL or UUID), filters, markets | [AutoScout24 Docs](https://docs.scrapebadger.com/autoscout24/overview) |
|
|
116
|
+
| **Yelp** | 2 endpoints — business search (location, query, category alias, sort, price, 8 feature refinements, pages 1–11, ads separate) and markets (us, ca). E.g. `client.yelp.searchBusinesses({ location: "San Francisco, CA", query: "pizza" })` | [Yelp Docs](https://docs.scrapebadger.com/yelp/overview) |
|
|
115
117
|
| **Bing** | 6 endpoints — web search (with ads + related searches), image search, video search, news vertical, autocomplete, markets |
|
|
116
118
|
| **DuckDuckGo** | 7 endpoints — web search (with instant-answer abstract), image search, news vertical, video search, autocomplete, instant answers, regions |
|
|
117
119
|
| **Yahoo** | 6 endpoints across 35 markets — web search (with ads + related searches), image search, video search, news vertical, autocomplete, markets | [Yahoo Docs](https://docs.scrapebadger.com/yahoo/overview) |
|
package/dist/index.cjs
CHANGED
|
@@ -9,7 +9,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
|
9
9
|
var WebSocket__default = /*#__PURE__*/_interopDefault(WebSocket);
|
|
10
10
|
|
|
11
11
|
// src/internal/version.ts
|
|
12
|
-
var SDK_VERSION = "0.
|
|
12
|
+
var SDK_VERSION = "0.74.0";
|
|
13
13
|
|
|
14
14
|
// src/internal/exceptions.ts
|
|
15
15
|
var ScrapeBadgerError = class _ScrapeBadgerError extends Error {
|
|
@@ -4638,6 +4638,10 @@ var Autoscout24Client = class {
|
|
|
4638
4638
|
async listSearchFilters(params = {}) {
|
|
4639
4639
|
return this.client.request("/v1/autoscout24/filters", { params });
|
|
4640
4640
|
}
|
|
4641
|
+
/** Get listing. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4642
|
+
async getListing(params = {}) {
|
|
4643
|
+
return this.client.request("/v1/autoscout24/listing", { params });
|
|
4644
|
+
}
|
|
4641
4645
|
/** List markets. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4642
4646
|
async listMarkets(params = {}) {
|
|
4643
4647
|
return this.client.request("/v1/autoscout24/markets", { params });
|
|
@@ -8598,6 +8602,22 @@ var YandexClient = class {
|
|
|
8598
8602
|
}
|
|
8599
8603
|
};
|
|
8600
8604
|
|
|
8605
|
+
// src/yelp/client.ts
|
|
8606
|
+
var YelpClient = class {
|
|
8607
|
+
client;
|
|
8608
|
+
constructor(client) {
|
|
8609
|
+
this.client = client;
|
|
8610
|
+
}
|
|
8611
|
+
/** List markets. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8612
|
+
async listMarkets(params = {}) {
|
|
8613
|
+
return this.client.request("/v1/yelp/markets", { params });
|
|
8614
|
+
}
|
|
8615
|
+
/** Search businesses. Generated from the OpenAPI spec; returns the raw response object. */
|
|
8616
|
+
async searchBusinesses(params = {}) {
|
|
8617
|
+
return this.client.request("/v1/yelp/search", { params });
|
|
8618
|
+
}
|
|
8619
|
+
};
|
|
8620
|
+
|
|
8601
8621
|
// src/youtube/search.ts
|
|
8602
8622
|
var SearchClient15 = class {
|
|
8603
8623
|
client;
|
|
@@ -10788,6 +10808,8 @@ var ScrapeBadger = class {
|
|
|
10788
10808
|
yahoo;
|
|
10789
10809
|
/** Yandex scraper API client — web search, image search, reverse-image (CBIR), markets (tr/com/ru/by/kz/uz) */
|
|
10790
10810
|
yandex;
|
|
10811
|
+
/** Yelp API client. (Generated from the OpenAPI spec.) */
|
|
10812
|
+
yelp;
|
|
10791
10813
|
/** YouTube scraper API client — 39 endpoints */
|
|
10792
10814
|
youtube;
|
|
10793
10815
|
/** Realtor scraper API client — 4 endpoints across 2 markets (us, ca) */
|
|
@@ -10888,6 +10910,7 @@ var ScrapeBadger = class {
|
|
|
10888
10910
|
this.naver = new NaverClient(this.baseClient);
|
|
10889
10911
|
this.yahoo = new YahooClient(this.baseClient);
|
|
10890
10912
|
this.yandex = new YandexClient(this.baseClient);
|
|
10913
|
+
this.yelp = new YelpClient(this.baseClient);
|
|
10891
10914
|
this.youtube = new YoutubeClient(this.baseClient);
|
|
10892
10915
|
this.realtor = new RealtorClient(this.baseClient);
|
|
10893
10916
|
this.leboncoin = new LeboncoinClient(this.baseClient);
|