scrapebadger 0.77.1 → 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 +37 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +143 -21
- package/dist/index.d.ts +143 -21
- package/dist/index.mjs +37 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2900,8 +2900,6 @@ declare class GoogleClient {
|
|
|
2900
2900
|
googleAiOverviewInlineSerpBlock(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2901
2901
|
/** Google Flights calendar — cheapest fare per date. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2902
2902
|
googleFlightsCalendarCheapestFarePerDate(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2903
|
-
/** Google Light web search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2904
|
-
googleLightWebSearch(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2905
2903
|
}
|
|
2906
2904
|
|
|
2907
2905
|
/**
|
|
@@ -2950,11 +2948,7 @@ declare class IdealistaClient {
|
|
|
2950
2948
|
listMarkets(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2951
2949
|
/** Get property detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2952
2950
|
getPropertyDetail(propertyCode: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2953
|
-
/**
|
|
2954
|
-
* Get listing engagement stats.
|
|
2955
|
-
* @deprecated Idealista withdrew public per-ad stats on 2026-11-10; the operation is marked deprecated in the OpenAPI spec, answers an error, and will be removed in a future release.
|
|
2956
|
-
* Generated from the OpenAPI spec; returns the raw response object.
|
|
2957
|
-
*/
|
|
2951
|
+
/** Get listing engagement stats. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2958
2952
|
getListingEngagementStats(propertyCode: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2959
2953
|
/** Search listings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2960
2954
|
searchListings(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
@@ -9553,9 +9547,7 @@ declare class FacebookClient {
|
|
|
9553
9547
|
listLocations(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
9554
9548
|
/** Resolve a town/postcode to a Marketplace location. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9555
9549
|
resolveATownPostcodeToAMarketplaceLocation(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
9556
|
-
/** Search
|
|
9557
|
-
* include_details: true for descriptions/photos. Continuations cover price ranges;
|
|
9558
|
-
* search_info reports partial coverage. Sort all collected pages for newest first. */
|
|
9550
|
+
/** Search Marketplace. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9559
9551
|
searchMarketplace(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
9560
9552
|
/** Get page detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9561
9553
|
getPageDetail(identifier: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
@@ -18122,6 +18114,22 @@ declare class LoopNetClient {
|
|
|
18122
18114
|
constructor(client: BaseClient);
|
|
18123
18115
|
}
|
|
18124
18116
|
|
|
18117
|
+
/**
|
|
18118
|
+
* Meta-Ai API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
|
|
18119
|
+
*/
|
|
18120
|
+
|
|
18121
|
+
/** Client for all Meta-Ai API operations. (Generated from the OpenAPI spec.) */
|
|
18122
|
+
declare class MetaAiClient {
|
|
18123
|
+
private readonly client;
|
|
18124
|
+
constructor(client: BaseClient);
|
|
18125
|
+
/** Ask Meta AI a question. Generated from the OpenAPI spec; returns the raw response object. */
|
|
18126
|
+
askMetaAiAQuestion(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
18127
|
+
/** Ask Meta AI a question (POST). Generated from the OpenAPI spec; returns the raw response object. */
|
|
18128
|
+
askMetaAiAQuestionPost(body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
18129
|
+
/** List Meta AI assistant modes. Generated from the OpenAPI spec; returns the raw response object. */
|
|
18130
|
+
listMetaAiAssistantModes(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
18131
|
+
}
|
|
18132
|
+
|
|
18125
18133
|
/**
|
|
18126
18134
|
* Perplexity API client. Hand-maintained compatibility adapter.
|
|
18127
18135
|
*/
|
|
@@ -19119,10 +19127,10 @@ declare class WallapopClient {
|
|
|
19119
19127
|
* them (`job_id`, `company_url`, `posted_relative`); optional / nullable
|
|
19120
19128
|
* backend fields are typed as `Type | null` or left `?`-optional.
|
|
19121
19129
|
*
|
|
19122
|
-
*
|
|
19123
|
-
*
|
|
19124
|
-
*
|
|
19125
|
-
*
|
|
19130
|
+
* Public data comes from LinkedIn's logged-out guest APIs and SSR pages. The
|
|
19131
|
+
* separately labelled full-profile route uses a server-owned authenticated
|
|
19132
|
+
* projection when configured. Requests are localised by a `country`
|
|
19133
|
+
* residential-proxy param.
|
|
19126
19134
|
*/
|
|
19127
19135
|
/** One job posting as it appears in a guest search result list. */
|
|
19128
19136
|
interface JobCard {
|
|
@@ -19172,39 +19180,144 @@ interface JobDetail {
|
|
|
19172
19180
|
/** External apply link when present. */
|
|
19173
19181
|
apply_url?: string | null;
|
|
19174
19182
|
}
|
|
19175
|
-
/** A current/past role from the public JSON-LD `worksFor`. */
|
|
19176
19183
|
interface ProfileExperience {
|
|
19177
19184
|
title?: string | null;
|
|
19178
19185
|
company?: string | null;
|
|
19179
19186
|
company_url?: string | null;
|
|
19187
|
+
location?: string | null;
|
|
19188
|
+
employment_type?: string | null;
|
|
19189
|
+
description?: string | null;
|
|
19190
|
+
date_range?: string | null;
|
|
19191
|
+
duration?: string | null;
|
|
19180
19192
|
start_year?: number | null;
|
|
19181
19193
|
end_year?: number | null;
|
|
19194
|
+
is_current?: boolean | null;
|
|
19182
19195
|
}
|
|
19183
|
-
/** A school from the public JSON-LD `alumniOf`. */
|
|
19184
19196
|
interface ProfileEducation {
|
|
19185
19197
|
school?: string | null;
|
|
19186
19198
|
school_url?: string | null;
|
|
19199
|
+
degree?: string | null;
|
|
19200
|
+
field_of_study?: string | null;
|
|
19201
|
+
description?: string | null;
|
|
19202
|
+
date_range?: string | null;
|
|
19203
|
+
start_year?: number | null;
|
|
19204
|
+
end_year?: number | null;
|
|
19205
|
+
}
|
|
19206
|
+
interface ProfileLanguage {
|
|
19207
|
+
name: string;
|
|
19208
|
+
proficiency?: string | null;
|
|
19209
|
+
}
|
|
19210
|
+
interface ProfileAward {
|
|
19211
|
+
title: string;
|
|
19212
|
+
issuer?: string | null;
|
|
19213
|
+
issued_on?: string | null;
|
|
19214
|
+
url?: string | null;
|
|
19215
|
+
description?: string | null;
|
|
19216
|
+
}
|
|
19217
|
+
interface ProfileVolunteering {
|
|
19218
|
+
title: string;
|
|
19219
|
+
organization?: string | null;
|
|
19220
|
+
organization_url?: string | null;
|
|
19221
|
+
date_range?: string | null;
|
|
19187
19222
|
start_year?: number | null;
|
|
19188
19223
|
end_year?: number | null;
|
|
19224
|
+
description?: string | null;
|
|
19189
19225
|
}
|
|
19190
|
-
|
|
19226
|
+
interface ProfileRecommendation {
|
|
19227
|
+
author_name?: string | null;
|
|
19228
|
+
author_url?: string | null;
|
|
19229
|
+
text: string;
|
|
19230
|
+
}
|
|
19231
|
+
interface ProfileInstructorCourse {
|
|
19232
|
+
title: string;
|
|
19233
|
+
url?: string | null;
|
|
19234
|
+
instructor?: string | null;
|
|
19235
|
+
duration?: string | null;
|
|
19236
|
+
viewers?: string | null;
|
|
19237
|
+
}
|
|
19238
|
+
interface ProfileActivity {
|
|
19239
|
+
type: string;
|
|
19240
|
+
url?: string | null;
|
|
19241
|
+
title?: string | null;
|
|
19242
|
+
text?: string | null;
|
|
19243
|
+
published_at?: string | null;
|
|
19244
|
+
like_count?: number | null;
|
|
19245
|
+
comment_count?: number | null;
|
|
19246
|
+
author_name?: string | null;
|
|
19247
|
+
author_url?: string | null;
|
|
19248
|
+
}
|
|
19249
|
+
interface ProfileEntry {
|
|
19250
|
+
name?: string | null;
|
|
19251
|
+
title?: string | null;
|
|
19252
|
+
subtitle?: string | null;
|
|
19253
|
+
role?: string | null;
|
|
19254
|
+
organization?: string | null;
|
|
19255
|
+
issuer?: string | null;
|
|
19256
|
+
proficiency?: string | null;
|
|
19257
|
+
number?: string | null;
|
|
19258
|
+
score?: string | null;
|
|
19259
|
+
cause?: string | null;
|
|
19260
|
+
url?: string | null;
|
|
19261
|
+
date_range?: string | null;
|
|
19262
|
+
start_year?: number | null;
|
|
19263
|
+
end_year?: number | null;
|
|
19264
|
+
issued_on?: string | null;
|
|
19265
|
+
published_on?: string | null;
|
|
19266
|
+
description?: string | null;
|
|
19267
|
+
}
|
|
19268
|
+
interface ProfileSimilar {
|
|
19269
|
+
name?: string | null;
|
|
19270
|
+
headline?: string | null;
|
|
19271
|
+
url: string;
|
|
19272
|
+
follower_count?: number | null;
|
|
19273
|
+
location?: string | null;
|
|
19274
|
+
}
|
|
19275
|
+
interface ProfileSectionCount {
|
|
19276
|
+
shown: number;
|
|
19277
|
+
total?: number | null;
|
|
19278
|
+
}
|
|
19279
|
+
/** A LinkedIn profile from the public page or an authenticated projection. */
|
|
19191
19280
|
interface Profile {
|
|
19192
19281
|
public_id: string;
|
|
19193
19282
|
linkedin_url: string;
|
|
19283
|
+
access_scope: "public" | "authenticated";
|
|
19194
19284
|
name?: string | null;
|
|
19195
19285
|
headline?: string | null;
|
|
19196
19286
|
location?: string | null;
|
|
19197
19287
|
country?: string | null;
|
|
19198
19288
|
about?: string | null;
|
|
19199
19289
|
image?: string | null;
|
|
19290
|
+
cover_image?: string | null;
|
|
19200
19291
|
follower_count?: number | null;
|
|
19292
|
+
connection_count?: string | null;
|
|
19293
|
+
badges: string[];
|
|
19294
|
+
websites: string[];
|
|
19201
19295
|
job_titles: string[];
|
|
19202
19296
|
current_company?: string | null;
|
|
19203
19297
|
current_company_url?: string | null;
|
|
19204
19298
|
experience: ProfileExperience[];
|
|
19205
19299
|
education: ProfileEducation[];
|
|
19206
19300
|
languages: string[];
|
|
19301
|
+
language_details: ProfileLanguage[];
|
|
19207
19302
|
awards: string[];
|
|
19303
|
+
award_details: ProfileAward[];
|
|
19304
|
+
volunteering: ProfileVolunteering[];
|
|
19305
|
+
recommendations: ProfileRecommendation[];
|
|
19306
|
+
instructor_courses: ProfileInstructorCourse[];
|
|
19307
|
+
recent_posts: ProfileActivity[];
|
|
19308
|
+
recent_articles: ProfileActivity[];
|
|
19309
|
+
similar_profiles: ProfileSimilar[];
|
|
19310
|
+
skills: string[];
|
|
19311
|
+
certifications: ProfileEntry[];
|
|
19312
|
+
honors: ProfileEntry[];
|
|
19313
|
+
publications: ProfileEntry[];
|
|
19314
|
+
projects: ProfileEntry[];
|
|
19315
|
+
courses: ProfileEntry[];
|
|
19316
|
+
organizations: ProfileEntry[];
|
|
19317
|
+
patents: ProfileEntry[];
|
|
19318
|
+
test_scores: ProfileEntry[];
|
|
19319
|
+
counts: Record<string, ProfileSectionCount>;
|
|
19320
|
+
partial_sections: string[];
|
|
19208
19321
|
}
|
|
19209
19322
|
interface Address {
|
|
19210
19323
|
street?: string | null;
|
|
@@ -19349,10 +19462,9 @@ interface LinkedInCountryParams {
|
|
|
19349
19462
|
/**
|
|
19350
19463
|
* LinkedIn API client.
|
|
19351
19464
|
*
|
|
19352
|
-
* LinkedIn endpoints cover
|
|
19353
|
-
*
|
|
19354
|
-
*
|
|
19355
|
-
* Requests are localised by a `country` residential-proxy param.
|
|
19465
|
+
* LinkedIn endpoints cover public guest jobs and SSR entity pages, plus the
|
|
19466
|
+
* separately labelled authenticated full-profile projection. Requests are
|
|
19467
|
+
* localised by a `country` residential-proxy param.
|
|
19356
19468
|
*
|
|
19357
19469
|
* Company/school/profile/post/course data is SSR-rendered, so those calls take
|
|
19358
19470
|
* a few seconds to return; the guest job APIs are faster HTML fragments.
|
|
@@ -19445,6 +19557,14 @@ declare class LinkedInClient {
|
|
|
19445
19557
|
* @throws NotFoundError - If the profile doesn't exist.
|
|
19446
19558
|
*/
|
|
19447
19559
|
getProfile(publicId: string, options?: LinkedInCountryParams): Promise<Profile>;
|
|
19560
|
+
/**
|
|
19561
|
+
* Get a full profile through the server-owned authenticated projection.
|
|
19562
|
+
*
|
|
19563
|
+
* @param publicId - The profile's public id (URL slug).
|
|
19564
|
+
* @param options - Optional parameters (country).
|
|
19565
|
+
* @returns Full profile with richer verticals and position pagination.
|
|
19566
|
+
*/
|
|
19567
|
+
getFullProfile(publicId: string, options?: LinkedInCountryParams): Promise<Profile>;
|
|
19448
19568
|
/**
|
|
19449
19569
|
* Get a public LinkedIn post (activity share).
|
|
19450
19570
|
*
|
|
@@ -20477,6 +20597,8 @@ declare class ScrapeBadger {
|
|
|
20477
20597
|
readonly immobiliare: ImmobiliareClient;
|
|
20478
20598
|
/** LoopNet scraper API client — commercial real estate across US/CA/UK/FR/ES (search, listing, broker, markets, property types) */
|
|
20479
20599
|
readonly loopnet: LoopNetClient;
|
|
20600
|
+
/** Meta_Ai API client. (Generated from the OpenAPI spec.) */
|
|
20601
|
+
readonly meta_ai: MetaAiClient;
|
|
20480
20602
|
/** Perplexity API client. (Generated from the OpenAPI spec.) */
|
|
20481
20603
|
readonly perplexity: PerplexityClient;
|
|
20482
20604
|
/** Depop scraper API client — search, product, user, user products, markets (www.depop.com, 10 markets) */
|
package/dist/index.d.ts
CHANGED
|
@@ -2900,8 +2900,6 @@ declare class GoogleClient {
|
|
|
2900
2900
|
googleAiOverviewInlineSerpBlock(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2901
2901
|
/** Google Flights calendar — cheapest fare per date. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2902
2902
|
googleFlightsCalendarCheapestFarePerDate(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2903
|
-
/** Google Light web search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2904
|
-
googleLightWebSearch(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2905
2903
|
}
|
|
2906
2904
|
|
|
2907
2905
|
/**
|
|
@@ -2950,11 +2948,7 @@ declare class IdealistaClient {
|
|
|
2950
2948
|
listMarkets(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2951
2949
|
/** Get property detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2952
2950
|
getPropertyDetail(propertyCode: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2953
|
-
/**
|
|
2954
|
-
* Get listing engagement stats.
|
|
2955
|
-
* @deprecated Idealista withdrew public per-ad stats on 2026-11-10; the operation is marked deprecated in the OpenAPI spec, answers an error, and will be removed in a future release.
|
|
2956
|
-
* Generated from the OpenAPI spec; returns the raw response object.
|
|
2957
|
-
*/
|
|
2951
|
+
/** Get listing engagement stats. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2958
2952
|
getListingEngagementStats(propertyCode: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
2959
2953
|
/** Search listings. Generated from the OpenAPI spec; returns the raw response object. */
|
|
2960
2954
|
searchListings(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
@@ -9553,9 +9547,7 @@ declare class FacebookClient {
|
|
|
9553
9547
|
listLocations(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
9554
9548
|
/** Resolve a town/postcode to a Marketplace location. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9555
9549
|
resolveATownPostcodeToAMarketplaceLocation(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
9556
|
-
/** Search
|
|
9557
|
-
* include_details: true for descriptions/photos. Continuations cover price ranges;
|
|
9558
|
-
* search_info reports partial coverage. Sort all collected pages for newest first. */
|
|
9550
|
+
/** Search Marketplace. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9559
9551
|
searchMarketplace(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
9560
9552
|
/** Get page detail. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9561
9553
|
getPageDetail(identifier: string, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
@@ -18122,6 +18114,22 @@ declare class LoopNetClient {
|
|
|
18122
18114
|
constructor(client: BaseClient);
|
|
18123
18115
|
}
|
|
18124
18116
|
|
|
18117
|
+
/**
|
|
18118
|
+
* Meta-Ai API client. // --- BEGIN generated by sdk/codegen/facade — do not edit ---
|
|
18119
|
+
*/
|
|
18120
|
+
|
|
18121
|
+
/** Client for all Meta-Ai API operations. (Generated from the OpenAPI spec.) */
|
|
18122
|
+
declare class MetaAiClient {
|
|
18123
|
+
private readonly client;
|
|
18124
|
+
constructor(client: BaseClient);
|
|
18125
|
+
/** Ask Meta AI a question. Generated from the OpenAPI spec; returns the raw response object. */
|
|
18126
|
+
askMetaAiAQuestion(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
18127
|
+
/** Ask Meta AI a question (POST). Generated from the OpenAPI spec; returns the raw response object. */
|
|
18128
|
+
askMetaAiAQuestionPost(body?: unknown, params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
18129
|
+
/** List Meta AI assistant modes. Generated from the OpenAPI spec; returns the raw response object. */
|
|
18130
|
+
listMetaAiAssistantModes(params?: Record<string, string | number | boolean | undefined>): Promise<Record<string, unknown>>;
|
|
18131
|
+
}
|
|
18132
|
+
|
|
18125
18133
|
/**
|
|
18126
18134
|
* Perplexity API client. Hand-maintained compatibility adapter.
|
|
18127
18135
|
*/
|
|
@@ -19119,10 +19127,10 @@ declare class WallapopClient {
|
|
|
19119
19127
|
* them (`job_id`, `company_url`, `posted_relative`); optional / nullable
|
|
19120
19128
|
* backend fields are typed as `Type | null` or left `?`-optional.
|
|
19121
19129
|
*
|
|
19122
|
-
*
|
|
19123
|
-
*
|
|
19124
|
-
*
|
|
19125
|
-
*
|
|
19130
|
+
* Public data comes from LinkedIn's logged-out guest APIs and SSR pages. The
|
|
19131
|
+
* separately labelled full-profile route uses a server-owned authenticated
|
|
19132
|
+
* projection when configured. Requests are localised by a `country`
|
|
19133
|
+
* residential-proxy param.
|
|
19126
19134
|
*/
|
|
19127
19135
|
/** One job posting as it appears in a guest search result list. */
|
|
19128
19136
|
interface JobCard {
|
|
@@ -19172,39 +19180,144 @@ interface JobDetail {
|
|
|
19172
19180
|
/** External apply link when present. */
|
|
19173
19181
|
apply_url?: string | null;
|
|
19174
19182
|
}
|
|
19175
|
-
/** A current/past role from the public JSON-LD `worksFor`. */
|
|
19176
19183
|
interface ProfileExperience {
|
|
19177
19184
|
title?: string | null;
|
|
19178
19185
|
company?: string | null;
|
|
19179
19186
|
company_url?: string | null;
|
|
19187
|
+
location?: string | null;
|
|
19188
|
+
employment_type?: string | null;
|
|
19189
|
+
description?: string | null;
|
|
19190
|
+
date_range?: string | null;
|
|
19191
|
+
duration?: string | null;
|
|
19180
19192
|
start_year?: number | null;
|
|
19181
19193
|
end_year?: number | null;
|
|
19194
|
+
is_current?: boolean | null;
|
|
19182
19195
|
}
|
|
19183
|
-
/** A school from the public JSON-LD `alumniOf`. */
|
|
19184
19196
|
interface ProfileEducation {
|
|
19185
19197
|
school?: string | null;
|
|
19186
19198
|
school_url?: string | null;
|
|
19199
|
+
degree?: string | null;
|
|
19200
|
+
field_of_study?: string | null;
|
|
19201
|
+
description?: string | null;
|
|
19202
|
+
date_range?: string | null;
|
|
19203
|
+
start_year?: number | null;
|
|
19204
|
+
end_year?: number | null;
|
|
19205
|
+
}
|
|
19206
|
+
interface ProfileLanguage {
|
|
19207
|
+
name: string;
|
|
19208
|
+
proficiency?: string | null;
|
|
19209
|
+
}
|
|
19210
|
+
interface ProfileAward {
|
|
19211
|
+
title: string;
|
|
19212
|
+
issuer?: string | null;
|
|
19213
|
+
issued_on?: string | null;
|
|
19214
|
+
url?: string | null;
|
|
19215
|
+
description?: string | null;
|
|
19216
|
+
}
|
|
19217
|
+
interface ProfileVolunteering {
|
|
19218
|
+
title: string;
|
|
19219
|
+
organization?: string | null;
|
|
19220
|
+
organization_url?: string | null;
|
|
19221
|
+
date_range?: string | null;
|
|
19187
19222
|
start_year?: number | null;
|
|
19188
19223
|
end_year?: number | null;
|
|
19224
|
+
description?: string | null;
|
|
19189
19225
|
}
|
|
19190
|
-
|
|
19226
|
+
interface ProfileRecommendation {
|
|
19227
|
+
author_name?: string | null;
|
|
19228
|
+
author_url?: string | null;
|
|
19229
|
+
text: string;
|
|
19230
|
+
}
|
|
19231
|
+
interface ProfileInstructorCourse {
|
|
19232
|
+
title: string;
|
|
19233
|
+
url?: string | null;
|
|
19234
|
+
instructor?: string | null;
|
|
19235
|
+
duration?: string | null;
|
|
19236
|
+
viewers?: string | null;
|
|
19237
|
+
}
|
|
19238
|
+
interface ProfileActivity {
|
|
19239
|
+
type: string;
|
|
19240
|
+
url?: string | null;
|
|
19241
|
+
title?: string | null;
|
|
19242
|
+
text?: string | null;
|
|
19243
|
+
published_at?: string | null;
|
|
19244
|
+
like_count?: number | null;
|
|
19245
|
+
comment_count?: number | null;
|
|
19246
|
+
author_name?: string | null;
|
|
19247
|
+
author_url?: string | null;
|
|
19248
|
+
}
|
|
19249
|
+
interface ProfileEntry {
|
|
19250
|
+
name?: string | null;
|
|
19251
|
+
title?: string | null;
|
|
19252
|
+
subtitle?: string | null;
|
|
19253
|
+
role?: string | null;
|
|
19254
|
+
organization?: string | null;
|
|
19255
|
+
issuer?: string | null;
|
|
19256
|
+
proficiency?: string | null;
|
|
19257
|
+
number?: string | null;
|
|
19258
|
+
score?: string | null;
|
|
19259
|
+
cause?: string | null;
|
|
19260
|
+
url?: string | null;
|
|
19261
|
+
date_range?: string | null;
|
|
19262
|
+
start_year?: number | null;
|
|
19263
|
+
end_year?: number | null;
|
|
19264
|
+
issued_on?: string | null;
|
|
19265
|
+
published_on?: string | null;
|
|
19266
|
+
description?: string | null;
|
|
19267
|
+
}
|
|
19268
|
+
interface ProfileSimilar {
|
|
19269
|
+
name?: string | null;
|
|
19270
|
+
headline?: string | null;
|
|
19271
|
+
url: string;
|
|
19272
|
+
follower_count?: number | null;
|
|
19273
|
+
location?: string | null;
|
|
19274
|
+
}
|
|
19275
|
+
interface ProfileSectionCount {
|
|
19276
|
+
shown: number;
|
|
19277
|
+
total?: number | null;
|
|
19278
|
+
}
|
|
19279
|
+
/** A LinkedIn profile from the public page or an authenticated projection. */
|
|
19191
19280
|
interface Profile {
|
|
19192
19281
|
public_id: string;
|
|
19193
19282
|
linkedin_url: string;
|
|
19283
|
+
access_scope: "public" | "authenticated";
|
|
19194
19284
|
name?: string | null;
|
|
19195
19285
|
headline?: string | null;
|
|
19196
19286
|
location?: string | null;
|
|
19197
19287
|
country?: string | null;
|
|
19198
19288
|
about?: string | null;
|
|
19199
19289
|
image?: string | null;
|
|
19290
|
+
cover_image?: string | null;
|
|
19200
19291
|
follower_count?: number | null;
|
|
19292
|
+
connection_count?: string | null;
|
|
19293
|
+
badges: string[];
|
|
19294
|
+
websites: string[];
|
|
19201
19295
|
job_titles: string[];
|
|
19202
19296
|
current_company?: string | null;
|
|
19203
19297
|
current_company_url?: string | null;
|
|
19204
19298
|
experience: ProfileExperience[];
|
|
19205
19299
|
education: ProfileEducation[];
|
|
19206
19300
|
languages: string[];
|
|
19301
|
+
language_details: ProfileLanguage[];
|
|
19207
19302
|
awards: string[];
|
|
19303
|
+
award_details: ProfileAward[];
|
|
19304
|
+
volunteering: ProfileVolunteering[];
|
|
19305
|
+
recommendations: ProfileRecommendation[];
|
|
19306
|
+
instructor_courses: ProfileInstructorCourse[];
|
|
19307
|
+
recent_posts: ProfileActivity[];
|
|
19308
|
+
recent_articles: ProfileActivity[];
|
|
19309
|
+
similar_profiles: ProfileSimilar[];
|
|
19310
|
+
skills: string[];
|
|
19311
|
+
certifications: ProfileEntry[];
|
|
19312
|
+
honors: ProfileEntry[];
|
|
19313
|
+
publications: ProfileEntry[];
|
|
19314
|
+
projects: ProfileEntry[];
|
|
19315
|
+
courses: ProfileEntry[];
|
|
19316
|
+
organizations: ProfileEntry[];
|
|
19317
|
+
patents: ProfileEntry[];
|
|
19318
|
+
test_scores: ProfileEntry[];
|
|
19319
|
+
counts: Record<string, ProfileSectionCount>;
|
|
19320
|
+
partial_sections: string[];
|
|
19208
19321
|
}
|
|
19209
19322
|
interface Address {
|
|
19210
19323
|
street?: string | null;
|
|
@@ -19349,10 +19462,9 @@ interface LinkedInCountryParams {
|
|
|
19349
19462
|
/**
|
|
19350
19463
|
* LinkedIn API client.
|
|
19351
19464
|
*
|
|
19352
|
-
* LinkedIn endpoints cover
|
|
19353
|
-
*
|
|
19354
|
-
*
|
|
19355
|
-
* Requests are localised by a `country` residential-proxy param.
|
|
19465
|
+
* LinkedIn endpoints cover public guest jobs and SSR entity pages, plus the
|
|
19466
|
+
* separately labelled authenticated full-profile projection. Requests are
|
|
19467
|
+
* localised by a `country` residential-proxy param.
|
|
19356
19468
|
*
|
|
19357
19469
|
* Company/school/profile/post/course data is SSR-rendered, so those calls take
|
|
19358
19470
|
* a few seconds to return; the guest job APIs are faster HTML fragments.
|
|
@@ -19445,6 +19557,14 @@ declare class LinkedInClient {
|
|
|
19445
19557
|
* @throws NotFoundError - If the profile doesn't exist.
|
|
19446
19558
|
*/
|
|
19447
19559
|
getProfile(publicId: string, options?: LinkedInCountryParams): Promise<Profile>;
|
|
19560
|
+
/**
|
|
19561
|
+
* Get a full profile through the server-owned authenticated projection.
|
|
19562
|
+
*
|
|
19563
|
+
* @param publicId - The profile's public id (URL slug).
|
|
19564
|
+
* @param options - Optional parameters (country).
|
|
19565
|
+
* @returns Full profile with richer verticals and position pagination.
|
|
19566
|
+
*/
|
|
19567
|
+
getFullProfile(publicId: string, options?: LinkedInCountryParams): Promise<Profile>;
|
|
19448
19568
|
/**
|
|
19449
19569
|
* Get a public LinkedIn post (activity share).
|
|
19450
19570
|
*
|
|
@@ -20477,6 +20597,8 @@ declare class ScrapeBadger {
|
|
|
20477
20597
|
readonly immobiliare: ImmobiliareClient;
|
|
20478
20598
|
/** LoopNet scraper API client — commercial real estate across US/CA/UK/FR/ES (search, listing, broker, markets, property types) */
|
|
20479
20599
|
readonly loopnet: LoopNetClient;
|
|
20600
|
+
/** Meta_Ai API client. (Generated from the OpenAPI spec.) */
|
|
20601
|
+
readonly meta_ai: MetaAiClient;
|
|
20480
20602
|
/** Perplexity API client. (Generated from the OpenAPI spec.) */
|
|
20481
20603
|
readonly perplexity: PerplexityClient;
|
|
20482
20604
|
/** Depop scraper API client — search, product, user, user products, markets (www.depop.com, 10 markets) */
|
package/dist/index.mjs
CHANGED
|
@@ -3788,10 +3788,6 @@ var GoogleClient = class {
|
|
|
3788
3788
|
async googleFlightsCalendarCheapestFarePerDate(params = {}) {
|
|
3789
3789
|
return this._gen.request("/v1/google/flights/calendar", { params });
|
|
3790
3790
|
}
|
|
3791
|
-
/** Google Light web search. Generated from the OpenAPI spec; returns the raw response object. */
|
|
3792
|
-
async googleLightWebSearch(params = {}) {
|
|
3793
|
-
return this._gen.request("/v1/google/light/search", { params });
|
|
3794
|
-
}
|
|
3795
3791
|
// --- END generated by sdk/codegen/facade ---
|
|
3796
3792
|
};
|
|
3797
3793
|
|
|
@@ -3865,11 +3861,7 @@ var IdealistaClient = class {
|
|
|
3865
3861
|
async getPropertyDetail(propertyCode, params = {}) {
|
|
3866
3862
|
return this.client.request(`/v1/idealista/properties/${propertyCode}`, { params });
|
|
3867
3863
|
}
|
|
3868
|
-
/**
|
|
3869
|
-
* Get listing engagement stats.
|
|
3870
|
-
* @deprecated Idealista withdrew public per-ad stats on 2026-11-10; the operation is marked deprecated in the OpenAPI spec, answers an error, and will be removed in a future release.
|
|
3871
|
-
* Generated from the OpenAPI spec; returns the raw response object.
|
|
3872
|
-
*/
|
|
3864
|
+
/** Get listing engagement stats. Generated from the OpenAPI spec; returns the raw response object. */
|
|
3873
3865
|
async getListingEngagementStats(propertyCode, params = {}) {
|
|
3874
3866
|
return this.client.request(`/v1/idealista/properties/${propertyCode}/stats`, { params });
|
|
3875
3867
|
}
|
|
@@ -6637,9 +6629,7 @@ var FacebookClient = class {
|
|
|
6637
6629
|
async resolveATownPostcodeToAMarketplaceLocation(params = {}) {
|
|
6638
6630
|
return this.client.request("/v1/facebook/marketplace/locations/resolve", { params });
|
|
6639
6631
|
}
|
|
6640
|
-
/** Search
|
|
6641
|
-
* include_details: true for descriptions/photos. Continuations cover price ranges;
|
|
6642
|
-
* search_info reports partial coverage. Sort all collected pages for newest first. */
|
|
6632
|
+
/** Search Marketplace. Generated from the OpenAPI spec; returns the raw response object. */
|
|
6643
6633
|
async searchMarketplace(params = {}) {
|
|
6644
6634
|
return this.client.request("/v1/facebook/marketplace/search", { params });
|
|
6645
6635
|
}
|
|
@@ -9926,6 +9916,26 @@ var LoopNetClient = class {
|
|
|
9926
9916
|
}
|
|
9927
9917
|
};
|
|
9928
9918
|
|
|
9919
|
+
// src/meta_ai/client.ts
|
|
9920
|
+
var MetaAiClient = class {
|
|
9921
|
+
client;
|
|
9922
|
+
constructor(client) {
|
|
9923
|
+
this.client = client;
|
|
9924
|
+
}
|
|
9925
|
+
/** Ask Meta AI a question. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9926
|
+
async askMetaAiAQuestion(params = {}) {
|
|
9927
|
+
return this.client.request("/v1/meta-ai/ask", { params });
|
|
9928
|
+
}
|
|
9929
|
+
/** Ask Meta AI a question (POST). Generated from the OpenAPI spec; returns the raw response object. */
|
|
9930
|
+
async askMetaAiAQuestionPost(body, params = {}) {
|
|
9931
|
+
return this.client.request("/v1/meta-ai/ask", { method: "POST", params, body });
|
|
9932
|
+
}
|
|
9933
|
+
/** List Meta AI assistant modes. Generated from the OpenAPI spec; returns the raw response object. */
|
|
9934
|
+
async listMetaAiAssistantModes(params = {}) {
|
|
9935
|
+
return this.client.request("/v1/meta-ai/models", { params });
|
|
9936
|
+
}
|
|
9937
|
+
};
|
|
9938
|
+
|
|
9929
9939
|
// src/perplexity/client.ts
|
|
9930
9940
|
function toQuery(params) {
|
|
9931
9941
|
const { strictCountry, ...rest } = params;
|
|
@@ -10334,6 +10344,18 @@ var LinkedInClient = class {
|
|
|
10334
10344
|
params: { country: options.country ?? "us" }
|
|
10335
10345
|
});
|
|
10336
10346
|
}
|
|
10347
|
+
/**
|
|
10348
|
+
* Get a full profile through the server-owned authenticated projection.
|
|
10349
|
+
*
|
|
10350
|
+
* @param publicId - The profile's public id (URL slug).
|
|
10351
|
+
* @param options - Optional parameters (country).
|
|
10352
|
+
* @returns Full profile with richer verticals and position pagination.
|
|
10353
|
+
*/
|
|
10354
|
+
async getFullProfile(publicId, options = {}) {
|
|
10355
|
+
return this.client.request(`/v1/linkedin/profiles/${publicId}/full`, {
|
|
10356
|
+
params: { country: options.country ?? "us" }
|
|
10357
|
+
});
|
|
10358
|
+
}
|
|
10337
10359
|
/**
|
|
10338
10360
|
* Get a public LinkedIn post (activity share).
|
|
10339
10361
|
*
|
|
@@ -10832,6 +10854,8 @@ var ScrapeBadger = class {
|
|
|
10832
10854
|
immobiliare;
|
|
10833
10855
|
/** LoopNet scraper API client — commercial real estate across US/CA/UK/FR/ES (search, listing, broker, markets, property types) */
|
|
10834
10856
|
loopnet;
|
|
10857
|
+
/** Meta_Ai API client. (Generated from the OpenAPI spec.) */
|
|
10858
|
+
meta_ai;
|
|
10835
10859
|
/** Perplexity API client. (Generated from the OpenAPI spec.) */
|
|
10836
10860
|
perplexity;
|
|
10837
10861
|
/** Depop scraper API client — search, product, user, user products, markets (www.depop.com, 10 markets) */
|
|
@@ -10927,6 +10951,7 @@ var ScrapeBadger = class {
|
|
|
10927
10951
|
this.zillow = new ZillowClient(this.baseClient);
|
|
10928
10952
|
this.immobiliare = new ImmobiliareClient(this.baseClient);
|
|
10929
10953
|
this.loopnet = new LoopNetClient(this.baseClient);
|
|
10954
|
+
this.meta_ai = new MetaAiClient(this.baseClient);
|
|
10930
10955
|
this.perplexity = new PerplexityClient(this.baseClient);
|
|
10931
10956
|
this.depop = new DepopClient(this.baseClient);
|
|
10932
10957
|
this.wallapop = new WallapopClient(this.baseClient);
|