scrapebadger 0.70.0 → 0.72.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/dist/{index.js → index.cjs} +111 -3
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +94 -2
- package/dist/index.d.ts +94 -2
- package/dist/index.mjs +109 -1
- package/dist/index.mjs.map +1 -1
- package/dist/twitter/{index.js → index.cjs} +2 -2
- package/dist/twitter/index.cjs.map +1 -0
- package/package.json +8 -8
- package/dist/index.js.map +0 -1
- package/dist/twitter/index.js.map +0 -1
|
@@ -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.72.0";
|
|
13
13
|
|
|
14
14
|
// src/internal/exceptions.ts
|
|
15
15
|
var ScrapeBadgerError = class _ScrapeBadgerError extends Error {
|
|
@@ -3801,6 +3801,10 @@ var GoogleClient = class {
|
|
|
3801
3801
|
async googleFlightsCalendarCheapestFarePerDate(params = {}) {
|
|
3802
3802
|
return this._gen.request("/v1/google/flights/calendar", { params });
|
|
3803
3803
|
}
|
|
3804
|
+
/** Google Light web search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
3805
|
+
async googleLightWebSearch(params = {}) {
|
|
3806
|
+
return this._gen.request("/v1/google/light/search", { params });
|
|
3807
|
+
}
|
|
3804
3808
|
// --- END generated by sdk/codegen/facade ---
|
|
3805
3809
|
};
|
|
3806
3810
|
|
|
@@ -4624,6 +4628,26 @@ var AsosClient = class {
|
|
|
4624
4628
|
}
|
|
4625
4629
|
};
|
|
4626
4630
|
|
|
4631
|
+
// src/autoscout24/client.ts
|
|
4632
|
+
var Autoscout24Client = class {
|
|
4633
|
+
client;
|
|
4634
|
+
constructor(client) {
|
|
4635
|
+
this.client = client;
|
|
4636
|
+
}
|
|
4637
|
+
/** List search filters. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4638
|
+
async listSearchFilters(params = {}) {
|
|
4639
|
+
return this.client.request("/v1/autoscout24/filters", { params });
|
|
4640
|
+
}
|
|
4641
|
+
/** List markets. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4642
|
+
async listMarkets(params = {}) {
|
|
4643
|
+
return this.client.request("/v1/autoscout24/markets", { params });
|
|
4644
|
+
}
|
|
4645
|
+
/** Search vehicles. Generated from the OpenAPI spec; returns the raw response object. */
|
|
4646
|
+
async searchVehicles(params = {}) {
|
|
4647
|
+
return this.client.request("/v1/autoscout24/search", { params });
|
|
4648
|
+
}
|
|
4649
|
+
};
|
|
4650
|
+
|
|
4627
4651
|
// src/instagram/users.ts
|
|
4628
4652
|
var UsersClient4 = class {
|
|
4629
4653
|
client;
|
|
@@ -5026,6 +5050,18 @@ var AccountClient = class {
|
|
|
5026
5050
|
async getAccountInfo(params = {}) {
|
|
5027
5051
|
return this.client.request("/v1/account/me", { params });
|
|
5028
5052
|
}
|
|
5053
|
+
/** Get the webhook signing secret. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5054
|
+
async getTheWebhookSigningSecret(params = {}) {
|
|
5055
|
+
return this.client.request("/v1/account/webhook-secret", { params });
|
|
5056
|
+
}
|
|
5057
|
+
/** Rotate the webhook signing secret. Generated from the OpenAPI spec; returns the raw response object. */
|
|
5058
|
+
async rotateTheWebhookSigningSecret(body, params = {}) {
|
|
5059
|
+
return this.client.request("/v1/account/webhook-secret/rotate", {
|
|
5060
|
+
method: "POST",
|
|
5061
|
+
params,
|
|
5062
|
+
body
|
|
5063
|
+
});
|
|
5064
|
+
}
|
|
5029
5065
|
};
|
|
5030
5066
|
|
|
5031
5067
|
// src/agent/client.ts
|
|
@@ -6588,6 +6624,10 @@ var FacebookClient = class {
|
|
|
6588
6624
|
async listLocations(params = {}) {
|
|
6589
6625
|
return this.client.request("/v1/facebook/marketplace/locations", { params });
|
|
6590
6626
|
}
|
|
6627
|
+
/** Resolve a town/postcode to a Marketplace location. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6628
|
+
async resolveATownPostcodeToAMarketplaceLocation(params = {}) {
|
|
6629
|
+
return this.client.request("/v1/facebook/marketplace/locations/resolve", { params });
|
|
6630
|
+
}
|
|
6591
6631
|
/** Search Marketplace. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6592
6632
|
async searchMarketplace(params = {}) {
|
|
6593
6633
|
return this.client.request("/v1/facebook/marketplace/search", { params });
|
|
@@ -7368,6 +7408,38 @@ var BookingClient = class {
|
|
|
7368
7408
|
}
|
|
7369
7409
|
};
|
|
7370
7410
|
|
|
7411
|
+
// src/brave/client.ts
|
|
7412
|
+
var BraveClient = class {
|
|
7413
|
+
client;
|
|
7414
|
+
constructor(client) {
|
|
7415
|
+
this.client = client;
|
|
7416
|
+
}
|
|
7417
|
+
/** Autocomplete. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7418
|
+
async autocomplete(params = {}) {
|
|
7419
|
+
return this.client.request("/v1/brave/autocomplete", { params });
|
|
7420
|
+
}
|
|
7421
|
+
/** Image search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7422
|
+
async imageSearch(params = {}) {
|
|
7423
|
+
return this.client.request("/v1/brave/images", { params });
|
|
7424
|
+
}
|
|
7425
|
+
/** List supported locales. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7426
|
+
async listSupportedLocales(params = {}) {
|
|
7427
|
+
return this.client.request("/v1/brave/locales", { params });
|
|
7428
|
+
}
|
|
7429
|
+
/** News search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7430
|
+
async newsSearch(params = {}) {
|
|
7431
|
+
return this.client.request("/v1/brave/news", { params });
|
|
7432
|
+
}
|
|
7433
|
+
/** Web search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7434
|
+
async webSearch(params = {}) {
|
|
7435
|
+
return this.client.request("/v1/brave/search", { params });
|
|
7436
|
+
}
|
|
7437
|
+
/** Video search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7438
|
+
async videoSearch(params = {}) {
|
|
7439
|
+
return this.client.request("/v1/brave/videos", { params });
|
|
7440
|
+
}
|
|
7441
|
+
};
|
|
7442
|
+
|
|
7371
7443
|
// src/baidu/client.ts
|
|
7372
7444
|
var BaiduClient = class {
|
|
7373
7445
|
client;
|
|
@@ -7439,6 +7511,18 @@ var BaiduClient = class {
|
|
|
7439
7511
|
}
|
|
7440
7512
|
};
|
|
7441
7513
|
|
|
7514
|
+
// src/batch/client.ts
|
|
7515
|
+
var BatchClient = class {
|
|
7516
|
+
client;
|
|
7517
|
+
constructor(client) {
|
|
7518
|
+
this.client = client;
|
|
7519
|
+
}
|
|
7520
|
+
/** Submit a batch of async requests. Generated from the OpenAPI spec; returns the raw response object. */
|
|
7521
|
+
async submitABatchOfAsyncRequests(body, params = {}) {
|
|
7522
|
+
return this.client.request("/v1/batch", { method: "POST", params, body });
|
|
7523
|
+
}
|
|
7524
|
+
};
|
|
7525
|
+
|
|
7442
7526
|
// src/bestbuy/client.ts
|
|
7443
7527
|
var BestbuyClient = class {
|
|
7444
7528
|
client;
|
|
@@ -10599,6 +10683,18 @@ var GeminiClient = class {
|
|
|
10599
10683
|
// --- END generated by sdk/codegen/facade ---
|
|
10600
10684
|
};
|
|
10601
10685
|
|
|
10686
|
+
// src/github/client.ts
|
|
10687
|
+
var GithubClient = class {
|
|
10688
|
+
client;
|
|
10689
|
+
constructor(client) {
|
|
10690
|
+
this.client = client;
|
|
10691
|
+
}
|
|
10692
|
+
/** Get profile. Generated from the OpenAPI spec; returns the raw response object. */
|
|
10693
|
+
async getProfile(username, params = {}) {
|
|
10694
|
+
return this.client.request(`/v1/github/profiles/${username}`, { params });
|
|
10695
|
+
}
|
|
10696
|
+
};
|
|
10697
|
+
|
|
10602
10698
|
// src/client.ts
|
|
10603
10699
|
var ScrapeBadger = class {
|
|
10604
10700
|
baseClient;
|
|
@@ -10622,6 +10718,8 @@ var ScrapeBadger = class {
|
|
|
10622
10718
|
app_store;
|
|
10623
10719
|
/** Asos API client. (Generated from the OpenAPI spec.) */
|
|
10624
10720
|
asos;
|
|
10721
|
+
/** Autoscout24 API client. (Generated from the OpenAPI spec.) */
|
|
10722
|
+
autoscout24;
|
|
10625
10723
|
/** Instagram scraper API client — users, media, search, hashtags, locations, audio */
|
|
10626
10724
|
instagram;
|
|
10627
10725
|
/** Redfin scraper API client — search, property, agent, autocomplete, markets (redfin.com, US) */
|
|
@@ -10662,8 +10760,12 @@ var ScrapeBadger = class {
|
|
|
10662
10760
|
bing;
|
|
10663
10761
|
/** Booking API client. (Generated from the OpenAPI spec.) */
|
|
10664
10762
|
booking;
|
|
10763
|
+
/** Brave API client. (Generated from the OpenAPI spec.) */
|
|
10764
|
+
brave;
|
|
10665
10765
|
/** Baidu scraper API client — search, news, images, autocomplete (baidu.com, China's #1 search engine) */
|
|
10666
10766
|
baidu;
|
|
10767
|
+
/** Batch API client. (Generated from the OpenAPI spec.) */
|
|
10768
|
+
batch;
|
|
10667
10769
|
/** Bestbuy API client. (Generated from the OpenAPI spec.) */
|
|
10668
10770
|
bestbuy;
|
|
10669
10771
|
/** Naver scraper API client — 55 endpoints (search, places, shopping, stores, content, reviews, products, shopping live; naver.com, South Korea) */
|
|
@@ -10698,6 +10800,8 @@ var ScrapeBadger = class {
|
|
|
10698
10800
|
copilot;
|
|
10699
10801
|
/** Gemini scraper API client — ask, brand visibility (the real gemini.google.com, anonymous) */
|
|
10700
10802
|
gemini;
|
|
10803
|
+
/** Github API client. (Generated from the OpenAPI spec.) */
|
|
10804
|
+
github;
|
|
10701
10805
|
/**
|
|
10702
10806
|
* Create a new ScrapeBadger client.
|
|
10703
10807
|
*
|
|
@@ -10742,6 +10846,7 @@ var ScrapeBadger = class {
|
|
|
10742
10846
|
this.apartments = new ApartmentsClient(this.baseClient);
|
|
10743
10847
|
this.app_store = new AppStoreClient(this.baseClient);
|
|
10744
10848
|
this.asos = new AsosClient(this.baseClient);
|
|
10849
|
+
this.autoscout24 = new Autoscout24Client(this.baseClient);
|
|
10745
10850
|
this.instagram = new InstagramClient(this.baseClient);
|
|
10746
10851
|
this.redfin = new RedfinClient(this.baseClient);
|
|
10747
10852
|
this.account = new AccountClient(this.baseClient);
|
|
@@ -10762,7 +10867,9 @@ var ScrapeBadger = class {
|
|
|
10762
10867
|
this.duckduckgo = new DuckDuckGoClient(this.baseClient);
|
|
10763
10868
|
this.bing = new BingClient(this.baseClient);
|
|
10764
10869
|
this.booking = new BookingClient(this.baseClient);
|
|
10870
|
+
this.brave = new BraveClient(this.baseClient);
|
|
10765
10871
|
this.baidu = new BaiduClient(this.baseClient);
|
|
10872
|
+
this.batch = new BatchClient(this.baseClient);
|
|
10766
10873
|
this.bestbuy = new BestbuyClient(this.baseClient);
|
|
10767
10874
|
this.naver = new NaverClient(this.baseClient);
|
|
10768
10875
|
this.yahoo = new YahooClient(this.baseClient);
|
|
@@ -10780,6 +10887,7 @@ var ScrapeBadger = class {
|
|
|
10780
10887
|
this.chatgpt = new ChatGPTClient(this.baseClient);
|
|
10781
10888
|
this.copilot = new CopilotClient(this.baseClient);
|
|
10782
10889
|
this.gemini = new GeminiClient(this.baseClient);
|
|
10890
|
+
this.github = new GithubClient(this.baseClient);
|
|
10783
10891
|
}
|
|
10784
10892
|
};
|
|
10785
10893
|
|
|
@@ -10953,5 +11061,5 @@ exports.ZillowReferenceClient = ReferenceClient14;
|
|
|
10953
11061
|
exports.ZillowSearchClient = SearchClient18;
|
|
10954
11062
|
exports.collectAll = collectAll;
|
|
10955
11063
|
exports.verifyWebhookSignature = verifyWebhookSignature;
|
|
10956
|
-
//# sourceMappingURL=index.
|
|
10957
|
-
//# sourceMappingURL=index.
|
|
11064
|
+
//# sourceMappingURL=index.cjs.map
|
|
11065
|
+
//# sourceMappingURL=index.cjs.map
|