scrapebadger 0.77.0 → 0.78.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.cjs +36 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +142 -16
- package/dist/index.d.ts +142 -16
- package/dist/index.mjs +36 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3794,10 +3794,6 @@ var GoogleClient = class {
|
|
|
3794
3794
|
async googleFlightsCalendarCheapestFarePerDate(params = {}) {
|
|
3795
3795
|
return this._gen.request("/v1/google/flights/calendar", { params });
|
|
3796
3796
|
}
|
|
3797
|
-
/** Google Light web search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
3798
|
-
async googleLightWebSearch(params = {}) {
|
|
3799
|
-
return this._gen.request("/v1/google/light/search", { params });
|
|
3800
|
-
}
|
|
3801
3797
|
// --- END generated by sdk/codegen/facade ---
|
|
3802
3798
|
};
|
|
3803
3799
|
|
|
@@ -6639,9 +6635,7 @@ var FacebookClient = class {
|
|
|
6639
6635
|
async resolveATownPostcodeToAMarketplaceLocation(params = {}) {
|
|
6640
6636
|
return this.client.request("/v1/facebook/marketplace/locations/resolve", { params });
|
|
6641
6637
|
}
|
|
6642
|
-
/** Search
|
|
6643
|
-
* include_details: true for descriptions/photos. Continuations cover price ranges;
|
|
6644
|
-
* search_info reports partial coverage. Sort all collected pages for newest first. */
|
|
6638
|
+
/** Search Marketplace. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6645
6639
|
async searchMarketplace(params = {}) {
|
|
6646
6640
|
return this.client.request("/v1/facebook/marketplace/search", { params });
|
|
6647
6641
|
}
|
|
@@ -9928,6 +9922,26 @@ var LoopNetClient = class {
|
|
|
9928
9922
|
}
|
|
9929
9923
|
};
|
|
9930
9924
|
|
|
9925
|
+
// src/meta_ai/client.ts
|
|
9926
|
+
var MetaAiClient = class {
|
|
9927
|
+
client;
|
|
9928
|
+
constructor(client) {
|
|
9929
|
+
this.client = client;
|
|
9930
|
+
}
|
|
9931
|
+
/** Ask Meta AI a question. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9932
|
+
async askMetaAiAQuestion(params = {}) {
|
|
9933
|
+
return this.client.request("/v1/meta-ai/ask", { params });
|
|
9934
|
+
}
|
|
9935
|
+
/** Ask Meta AI a question (POST). Generated from the OpenAPI spec; returns the raw response object. */
|
|
9936
|
+
async askMetaAiAQuestionPost(body, params = {}) {
|
|
9937
|
+
return this.client.request("/v1/meta-ai/ask", { method: "POST", params, body });
|
|
9938
|
+
}
|
|
9939
|
+
/** List Meta AI assistant modes. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9940
|
+
async listMetaAiAssistantModes(params = {}) {
|
|
9941
|
+
return this.client.request("/v1/meta-ai/models", { params });
|
|
9942
|
+
}
|
|
9943
|
+
};
|
|
9944
|
+
|
|
9931
9945
|
// src/perplexity/client.ts
|
|
9932
9946
|
function toQuery(params) {
|
|
9933
9947
|
const { strictCountry, ...rest } = params;
|
|
@@ -10336,6 +10350,18 @@ var LinkedInClient = class {
|
|
|
10336
10350
|
params: { country: options.country ?? "us" }
|
|
10337
10351
|
});
|
|
10338
10352
|
}
|
|
10353
|
+
/**
|
|
10354
|
+
* Get a full profile through the server-owned authenticated projection.
|
|
10355
|
+
*
|
|
10356
|
+
* @param publicId - The profile's public id (URL slug).
|
|
10357
|
+
* @param options - Optional parameters (country).
|
|
10358
|
+
* @returns Full profile with richer verticals and position pagination.
|
|
10359
|
+
*/
|
|
10360
|
+
async getFullProfile(publicId, options = {}) {
|
|
10361
|
+
return this.client.request(`/v1/linkedin/profiles/${publicId}/full`, {
|
|
10362
|
+
params: { country: options.country ?? "us" }
|
|
10363
|
+
});
|
|
10364
|
+
}
|
|
10339
10365
|
/**
|
|
10340
10366
|
* Get a public LinkedIn post (activity share).
|
|
10341
10367
|
*
|
|
@@ -10834,6 +10860,8 @@ var ScrapeBadger = class {
|
|
|
10834
10860
|
immobiliare;
|
|
10835
10861
|
/** LoopNet scraper API client — commercial real estate across US/CA/UK/FR/ES (search, listing, broker, markets, property types) */
|
|
10836
10862
|
loopnet;
|
|
10863
|
+
/** Meta_Ai API client. (Generated from the OpenAPI spec.) */
|
|
10864
|
+
meta_ai;
|
|
10837
10865
|
/** Perplexity API client. (Generated from the OpenAPI spec.) */
|
|
10838
10866
|
perplexity;
|
|
10839
10867
|
/** Depop scraper API client — search, product, user, user products, markets (www.depop.com, 10 markets) */
|
|
@@ -10929,6 +10957,7 @@ var ScrapeBadger = class {
|
|
|
10929
10957
|
this.zillow = new ZillowClient(this.baseClient);
|
|
10930
10958
|
this.immobiliare = new ImmobiliareClient(this.baseClient);
|
|
10931
10959
|
this.loopnet = new LoopNetClient(this.baseClient);
|
|
10960
|
+
this.meta_ai = new MetaAiClient(this.baseClient);
|
|
10932
10961
|
this.perplexity = new PerplexityClient(this.baseClient);
|
|
10933
10962
|
this.depop = new DepopClient(this.baseClient);
|
|
10934
10963
|
this.wallapop = new WallapopClient(this.baseClient);
|