@getanyapi/sdk 0.178.13 → 0.178.15
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 +10 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5279,7 +5279,7 @@ declare class BookingNamespace {
|
|
|
5279
5279
|
* Price: $0.0008 per request.
|
|
5280
5280
|
*
|
|
5281
5281
|
* @example
|
|
5282
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
5282
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-22", checkOut: "2026-12-24", limit: 3 });
|
|
5283
5283
|
*/
|
|
5284
5284
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5285
5285
|
}
|
|
@@ -20816,7 +20816,7 @@ declare class FacebookNamespace {
|
|
|
20816
20816
|
*
|
|
20817
20817
|
* List a Facebook page's recent posts by URL or page id with cursor pagination (text, author, publication time, permalink).
|
|
20818
20818
|
*
|
|
20819
|
-
* Price: $0.
|
|
20819
|
+
* Price: $0.0012 per request.
|
|
20820
20820
|
*
|
|
20821
20821
|
* @example
|
|
20822
20822
|
* const res = await client.facebook.profilePosts({ url: "https://www.facebook.com/nike" });
|
|
@@ -25862,7 +25862,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25862
25862
|
* Price: $0.00085 per request.
|
|
25863
25863
|
*
|
|
25864
25864
|
* @example
|
|
25865
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
25865
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-22", departureDateTo: "2027-01-20", destination: "LHR", origin: "JFK" });
|
|
25866
25866
|
*/
|
|
25867
25867
|
calendar(input: GoogleFlightsCalendarInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsCalendarData>>;
|
|
25868
25868
|
/**
|
|
@@ -25873,7 +25873,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25873
25873
|
* Price: $0.00085 per request.
|
|
25874
25874
|
*
|
|
25875
25875
|
* @example
|
|
25876
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
25876
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-22", destination: "LHR", origin: "JFK" });
|
|
25877
25877
|
*/
|
|
25878
25878
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
25879
25879
|
}
|
|
@@ -26208,7 +26208,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26208
26208
|
* Price: $0.0015 per request.
|
|
26209
26209
|
*
|
|
26210
26210
|
* @example
|
|
26211
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
26211
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26212
26212
|
*/
|
|
26213
26213
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26214
26214
|
/**
|
|
@@ -26219,7 +26219,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26219
26219
|
* Price: $0.0048 per request.
|
|
26220
26220
|
*
|
|
26221
26221
|
* @example
|
|
26222
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
26222
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", query: "hotels near times square new york" });
|
|
26223
26223
|
*/
|
|
26224
26224
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26225
26225
|
}
|
|
@@ -32685,7 +32685,7 @@ declare class InstagramNamespace {
|
|
|
32685
32685
|
*
|
|
32686
32686
|
* List the related profiles Instagram's website shows for a public profile, with each account's handle, display name, verified flag and avatar. This is Instagram's shorter web list: it often holds only a few accounts and can be empty even for a large profile. When it comes back empty or cannot be read, the accounts Instagram's app suggests for the profile may be returned instead. For the full list of accounts Instagram suggests as similar, use instagram.suggested_profiles.
|
|
32687
32687
|
*
|
|
32688
|
-
* Price: $0.
|
|
32688
|
+
* Price: $0.0022 per request.
|
|
32689
32689
|
*
|
|
32690
32690
|
* @example
|
|
32691
32691
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -32740,7 +32740,7 @@ declare class InstagramNamespace {
|
|
|
32740
32740
|
*
|
|
32741
32741
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
32742
32742
|
*
|
|
32743
|
-
* Price: $0.
|
|
32743
|
+
* Price: $0.00135 per request.
|
|
32744
32744
|
*
|
|
32745
32745
|
* @example
|
|
32746
32746
|
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
@@ -74517,7 +74517,7 @@ declare class VrboNamespace {
|
|
|
74517
74517
|
* Price: $0.00085 per request.
|
|
74518
74518
|
*
|
|
74519
74519
|
* @example
|
|
74520
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
74520
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-22", checkOut: "2026-12-25" });
|
|
74521
74521
|
*/
|
|
74522
74522
|
listing(input: VrboListingInput, options?: RequestOptions): Promise<RunResult<VrboListingData>>;
|
|
74523
74523
|
/**
|
|
@@ -74528,7 +74528,7 @@ declare class VrboNamespace {
|
|
|
74528
74528
|
* Price: $0.00085 per request.
|
|
74529
74529
|
*
|
|
74530
74530
|
* @example
|
|
74531
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
74531
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-22", checkOut: "2026-12-25", location: "Lake Tahoe", adults: 2 });
|
|
74532
74532
|
*/
|
|
74533
74533
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
74534
74534
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -5279,7 +5279,7 @@ declare class BookingNamespace {
|
|
|
5279
5279
|
* Price: $0.0008 per request.
|
|
5280
5280
|
*
|
|
5281
5281
|
* @example
|
|
5282
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
5282
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-22", checkOut: "2026-12-24", limit: 3 });
|
|
5283
5283
|
*/
|
|
5284
5284
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5285
5285
|
}
|
|
@@ -20816,7 +20816,7 @@ declare class FacebookNamespace {
|
|
|
20816
20816
|
*
|
|
20817
20817
|
* List a Facebook page's recent posts by URL or page id with cursor pagination (text, author, publication time, permalink).
|
|
20818
20818
|
*
|
|
20819
|
-
* Price: $0.
|
|
20819
|
+
* Price: $0.0012 per request.
|
|
20820
20820
|
*
|
|
20821
20821
|
* @example
|
|
20822
20822
|
* const res = await client.facebook.profilePosts({ url: "https://www.facebook.com/nike" });
|
|
@@ -25862,7 +25862,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25862
25862
|
* Price: $0.00085 per request.
|
|
25863
25863
|
*
|
|
25864
25864
|
* @example
|
|
25865
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
25865
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-22", departureDateTo: "2027-01-20", destination: "LHR", origin: "JFK" });
|
|
25866
25866
|
*/
|
|
25867
25867
|
calendar(input: GoogleFlightsCalendarInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsCalendarData>>;
|
|
25868
25868
|
/**
|
|
@@ -25873,7 +25873,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25873
25873
|
* Price: $0.00085 per request.
|
|
25874
25874
|
*
|
|
25875
25875
|
* @example
|
|
25876
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
25876
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-22", destination: "LHR", origin: "JFK" });
|
|
25877
25877
|
*/
|
|
25878
25878
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
25879
25879
|
}
|
|
@@ -26208,7 +26208,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26208
26208
|
* Price: $0.0015 per request.
|
|
26209
26209
|
*
|
|
26210
26210
|
* @example
|
|
26211
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
26211
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
26212
26212
|
*/
|
|
26213
26213
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
26214
26214
|
/**
|
|
@@ -26219,7 +26219,7 @@ declare class GoogleHotelsNamespace {
|
|
|
26219
26219
|
* Price: $0.0048 per request.
|
|
26220
26220
|
*
|
|
26221
26221
|
* @example
|
|
26222
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
26222
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", query: "hotels near times square new york" });
|
|
26223
26223
|
*/
|
|
26224
26224
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
26225
26225
|
}
|
|
@@ -32685,7 +32685,7 @@ declare class InstagramNamespace {
|
|
|
32685
32685
|
*
|
|
32686
32686
|
* List the related profiles Instagram's website shows for a public profile, with each account's handle, display name, verified flag and avatar. This is Instagram's shorter web list: it often holds only a few accounts and can be empty even for a large profile. When it comes back empty or cannot be read, the accounts Instagram's app suggests for the profile may be returned instead. For the full list of accounts Instagram suggests as similar, use instagram.suggested_profiles.
|
|
32687
32687
|
*
|
|
32688
|
-
* Price: $0.
|
|
32688
|
+
* Price: $0.0022 per request.
|
|
32689
32689
|
*
|
|
32690
32690
|
* @example
|
|
32691
32691
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -32740,7 +32740,7 @@ declare class InstagramNamespace {
|
|
|
32740
32740
|
*
|
|
32741
32741
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
32742
32742
|
*
|
|
32743
|
-
* Price: $0.
|
|
32743
|
+
* Price: $0.00135 per request.
|
|
32744
32744
|
*
|
|
32745
32745
|
* @example
|
|
32746
32746
|
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
@@ -74517,7 +74517,7 @@ declare class VrboNamespace {
|
|
|
74517
74517
|
* Price: $0.00085 per request.
|
|
74518
74518
|
*
|
|
74519
74519
|
* @example
|
|
74520
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
74520
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-22", checkOut: "2026-12-25" });
|
|
74521
74521
|
*/
|
|
74522
74522
|
listing(input: VrboListingInput, options?: RequestOptions): Promise<RunResult<VrboListingData>>;
|
|
74523
74523
|
/**
|
|
@@ -74528,7 +74528,7 @@ declare class VrboNamespace {
|
|
|
74528
74528
|
* Price: $0.00085 per request.
|
|
74529
74529
|
*
|
|
74530
74530
|
* @example
|
|
74531
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
74531
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-22", checkOut: "2026-12-25", location: "Lake Tahoe", adults: 2 });
|
|
74532
74532
|
*/
|
|
74533
74533
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
74534
74534
|
}
|
package/dist/index.js
CHANGED
|
@@ -1566,7 +1566,7 @@ var BookingNamespace = class {
|
|
|
1566
1566
|
* Price: $0.0008 per request.
|
|
1567
1567
|
*
|
|
1568
1568
|
* @example
|
|
1569
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
1569
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-22", checkOut: "2026-12-24", limit: 3 });
|
|
1570
1570
|
*/
|
|
1571
1571
|
search(input, options) {
|
|
1572
1572
|
return this._core.run("booking.search", input, options);
|
|
@@ -3031,7 +3031,7 @@ var FacebookNamespace = class {
|
|
|
3031
3031
|
*
|
|
3032
3032
|
* List a Facebook page's recent posts by URL or page id with cursor pagination (text, author, publication time, permalink).
|
|
3033
3033
|
*
|
|
3034
|
-
* Price: $0.
|
|
3034
|
+
* Price: $0.0012 per request.
|
|
3035
3035
|
*
|
|
3036
3036
|
* @example
|
|
3037
3037
|
* const res = await client.facebook.profilePosts({ url: "https://www.facebook.com/nike" });
|
|
@@ -3893,7 +3893,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3893
3893
|
* Price: $0.00085 per request.
|
|
3894
3894
|
*
|
|
3895
3895
|
* @example
|
|
3896
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
3896
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-22", departureDateTo: "2027-01-20", destination: "LHR", origin: "JFK" });
|
|
3897
3897
|
*/
|
|
3898
3898
|
calendar(input, options) {
|
|
3899
3899
|
return this._core.run("google_flights.calendar", input, options);
|
|
@@ -3906,7 +3906,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3906
3906
|
* Price: $0.00085 per request.
|
|
3907
3907
|
*
|
|
3908
3908
|
* @example
|
|
3909
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
3909
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-22", destination: "LHR", origin: "JFK" });
|
|
3910
3910
|
*/
|
|
3911
3911
|
search(input, options) {
|
|
3912
3912
|
return this._core.run("google_flights.search", input, options);
|
|
@@ -3927,7 +3927,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3927
3927
|
* Price: $0.0015 per request.
|
|
3928
3928
|
*
|
|
3929
3929
|
* @example
|
|
3930
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
3930
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3931
3931
|
*/
|
|
3932
3932
|
details(input, options) {
|
|
3933
3933
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3940,7 +3940,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3940
3940
|
* Price: $0.0048 per request.
|
|
3941
3941
|
*
|
|
3942
3942
|
* @example
|
|
3943
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
3943
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", query: "hotels near times square new york" });
|
|
3944
3944
|
*/
|
|
3945
3945
|
search(input, options) {
|
|
3946
3946
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4679,7 +4679,7 @@ var InstagramNamespace = class {
|
|
|
4679
4679
|
*
|
|
4680
4680
|
* List the related profiles Instagram's website shows for a public profile, with each account's handle, display name, verified flag and avatar. This is Instagram's shorter web list: it often holds only a few accounts and can be empty even for a large profile. When it comes back empty or cannot be read, the accounts Instagram's app suggests for the profile may be returned instead. For the full list of accounts Instagram suggests as similar, use instagram.suggested_profiles.
|
|
4681
4681
|
*
|
|
4682
|
-
* Price: $0.
|
|
4682
|
+
* Price: $0.0022 per request.
|
|
4683
4683
|
*
|
|
4684
4684
|
* @example
|
|
4685
4685
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -4744,7 +4744,7 @@ var InstagramNamespace = class {
|
|
|
4744
4744
|
*
|
|
4745
4745
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
4746
4746
|
*
|
|
4747
|
-
* Price: $0.
|
|
4747
|
+
* Price: $0.00135 per request.
|
|
4748
4748
|
*
|
|
4749
4749
|
* @example
|
|
4750
4750
|
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
@@ -9177,7 +9177,7 @@ var VrboNamespace = class {
|
|
|
9177
9177
|
* Price: $0.00085 per request.
|
|
9178
9178
|
*
|
|
9179
9179
|
* @example
|
|
9180
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
9180
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-22", checkOut: "2026-12-25" });
|
|
9181
9181
|
*/
|
|
9182
9182
|
listing(input, options) {
|
|
9183
9183
|
return this._core.run("vrbo.listing", input, options);
|
|
@@ -9190,7 +9190,7 @@ var VrboNamespace = class {
|
|
|
9190
9190
|
* Price: $0.00085 per request.
|
|
9191
9191
|
*
|
|
9192
9192
|
* @example
|
|
9193
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
9193
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-22", checkOut: "2026-12-25", location: "Lake Tahoe", adults: 2 });
|
|
9194
9194
|
*/
|
|
9195
9195
|
search(input, options) {
|
|
9196
9196
|
return this._core.run("vrbo.search", input, options);
|