@getanyapi/sdk 0.157.1 → 0.157.3
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 +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5274,7 +5274,7 @@ declare class BookingNamespace {
|
|
|
5274
5274
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
5275
5275
|
*
|
|
5276
5276
|
* @example
|
|
5277
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
5277
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-17", checkOut: "2026-12-19", limit: 3 });
|
|
5278
5278
|
*/
|
|
5279
5279
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5280
5280
|
}
|
|
@@ -19909,7 +19909,7 @@ declare class FacebookNamespace {
|
|
|
19909
19909
|
*
|
|
19910
19910
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
19911
19911
|
*
|
|
19912
|
-
* Price: $0.
|
|
19912
|
+
* Price: $0.0012 per request.
|
|
19913
19913
|
*
|
|
19914
19914
|
* @example
|
|
19915
19915
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -25122,7 +25122,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25122
25122
|
* Price: $0.00085 per request.
|
|
25123
25123
|
*
|
|
25124
25124
|
* @example
|
|
25125
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
25125
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-17", departureDateTo: "2027-01-15", destination: "LHR", origin: "JFK" });
|
|
25126
25126
|
*/
|
|
25127
25127
|
calendar(input: GoogleFlightsCalendarInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsCalendarData>>;
|
|
25128
25128
|
/**
|
|
@@ -25133,7 +25133,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25133
25133
|
* Price: $0.00085 per request.
|
|
25134
25134
|
*
|
|
25135
25135
|
* @example
|
|
25136
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
25136
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-17", destination: "LHR", origin: "JFK" });
|
|
25137
25137
|
*/
|
|
25138
25138
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
25139
25139
|
}
|
|
@@ -25468,7 +25468,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25468
25468
|
* Price: $0.0015 per request.
|
|
25469
25469
|
*
|
|
25470
25470
|
* @example
|
|
25471
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
25471
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-17", checkOut: "2026-12-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
25472
25472
|
*/
|
|
25473
25473
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
25474
25474
|
/**
|
|
@@ -25479,7 +25479,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25479
25479
|
* Price: $0.0015 per request.
|
|
25480
25480
|
*
|
|
25481
25481
|
* @example
|
|
25482
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
25482
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-17", checkOut: "2026-12-19", country: "us", query: "hotels near times square new york" });
|
|
25483
25483
|
*/
|
|
25484
25484
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
25485
25485
|
}
|
|
@@ -31948,7 +31948,7 @@ declare class InstagramNamespace {
|
|
|
31948
31948
|
*
|
|
31949
31949
|
* 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.
|
|
31950
31950
|
*
|
|
31951
|
-
* Price: $0.
|
|
31951
|
+
* Price: $0.0022 per request.
|
|
31952
31952
|
*
|
|
31953
31953
|
* @example
|
|
31954
31954
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -73768,7 +73768,7 @@ declare class VrboNamespace {
|
|
|
73768
73768
|
* Price: $0.00085 per request.
|
|
73769
73769
|
*
|
|
73770
73770
|
* @example
|
|
73771
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
73771
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-17", checkOut: "2026-12-20" });
|
|
73772
73772
|
*/
|
|
73773
73773
|
listing(input: VrboListingInput, options?: RequestOptions): Promise<RunResult<VrboListingData>>;
|
|
73774
73774
|
/**
|
|
@@ -73779,7 +73779,7 @@ declare class VrboNamespace {
|
|
|
73779
73779
|
* Price: $0.00085 per request.
|
|
73780
73780
|
*
|
|
73781
73781
|
* @example
|
|
73782
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
73782
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-17", checkOut: "2026-12-20", location: "Lake Tahoe", adults: 2 });
|
|
73783
73783
|
*/
|
|
73784
73784
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
73785
73785
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -5274,7 +5274,7 @@ declare class BookingNamespace {
|
|
|
5274
5274
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
5275
5275
|
*
|
|
5276
5276
|
* @example
|
|
5277
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
5277
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-17", checkOut: "2026-12-19", limit: 3 });
|
|
5278
5278
|
*/
|
|
5279
5279
|
search(input: BookingSearchInput, options?: RequestOptions): Promise<RunResult<BookingSearchData>>;
|
|
5280
5280
|
}
|
|
@@ -19909,7 +19909,7 @@ declare class FacebookNamespace {
|
|
|
19909
19909
|
*
|
|
19910
19910
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
19911
19911
|
*
|
|
19912
|
-
* Price: $0.
|
|
19912
|
+
* Price: $0.0012 per request.
|
|
19913
19913
|
*
|
|
19914
19914
|
* @example
|
|
19915
19915
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -25122,7 +25122,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25122
25122
|
* Price: $0.00085 per request.
|
|
25123
25123
|
*
|
|
25124
25124
|
* @example
|
|
25125
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
25125
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-17", departureDateTo: "2027-01-15", destination: "LHR", origin: "JFK" });
|
|
25126
25126
|
*/
|
|
25127
25127
|
calendar(input: GoogleFlightsCalendarInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsCalendarData>>;
|
|
25128
25128
|
/**
|
|
@@ -25133,7 +25133,7 @@ declare class GoogleFlightsNamespace {
|
|
|
25133
25133
|
* Price: $0.00085 per request.
|
|
25134
25134
|
*
|
|
25135
25135
|
* @example
|
|
25136
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
25136
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-17", destination: "LHR", origin: "JFK" });
|
|
25137
25137
|
*/
|
|
25138
25138
|
search(input: GoogleFlightsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleFlightsSearchData>>;
|
|
25139
25139
|
}
|
|
@@ -25468,7 +25468,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25468
25468
|
* Price: $0.0015 per request.
|
|
25469
25469
|
*
|
|
25470
25470
|
* @example
|
|
25471
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
25471
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-17", checkOut: "2026-12-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
25472
25472
|
*/
|
|
25473
25473
|
details(input: GoogleHotelsDetailsInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsDetailsData>>;
|
|
25474
25474
|
/**
|
|
@@ -25479,7 +25479,7 @@ declare class GoogleHotelsNamespace {
|
|
|
25479
25479
|
* Price: $0.0015 per request.
|
|
25480
25480
|
*
|
|
25481
25481
|
* @example
|
|
25482
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
25482
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-17", checkOut: "2026-12-19", country: "us", query: "hotels near times square new york" });
|
|
25483
25483
|
*/
|
|
25484
25484
|
search(input: GoogleHotelsSearchInput, options?: RequestOptions): Promise<RunResult<GoogleHotelsSearchData>>;
|
|
25485
25485
|
}
|
|
@@ -31948,7 +31948,7 @@ declare class InstagramNamespace {
|
|
|
31948
31948
|
*
|
|
31949
31949
|
* 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.
|
|
31950
31950
|
*
|
|
31951
|
-
* Price: $0.
|
|
31951
|
+
* Price: $0.0022 per request.
|
|
31952
31952
|
*
|
|
31953
31953
|
* @example
|
|
31954
31954
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -73768,7 +73768,7 @@ declare class VrboNamespace {
|
|
|
73768
73768
|
* Price: $0.00085 per request.
|
|
73769
73769
|
*
|
|
73770
73770
|
* @example
|
|
73771
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
73771
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-17", checkOut: "2026-12-20" });
|
|
73772
73772
|
*/
|
|
73773
73773
|
listing(input: VrboListingInput, options?: RequestOptions): Promise<RunResult<VrboListingData>>;
|
|
73774
73774
|
/**
|
|
@@ -73779,7 +73779,7 @@ declare class VrboNamespace {
|
|
|
73779
73779
|
* Price: $0.00085 per request.
|
|
73780
73780
|
*
|
|
73781
73781
|
* @example
|
|
73782
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
73782
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-17", checkOut: "2026-12-20", location: "Lake Tahoe", adults: 2 });
|
|
73783
73783
|
*/
|
|
73784
73784
|
search(input: VrboSearchInput, options?: RequestOptions): Promise<RunResult<VrboSearchData>>;
|
|
73785
73785
|
}
|
package/dist/index.js
CHANGED
|
@@ -1566,7 +1566,7 @@ var BookingNamespace = class {
|
|
|
1566
1566
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
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-17", checkOut: "2026-12-19", limit: 3 });
|
|
1570
1570
|
*/
|
|
1571
1571
|
search(input, options) {
|
|
1572
1572
|
return this._core.run("booking.search", input, options);
|
|
@@ -2731,7 +2731,7 @@ var FacebookNamespace = class {
|
|
|
2731
2731
|
*
|
|
2732
2732
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
2733
2733
|
*
|
|
2734
|
-
* Price: $0.
|
|
2734
|
+
* Price: $0.0012 per request.
|
|
2735
2735
|
*
|
|
2736
2736
|
* @example
|
|
2737
2737
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -3833,7 +3833,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3833
3833
|
* Price: $0.00085 per request.
|
|
3834
3834
|
*
|
|
3835
3835
|
* @example
|
|
3836
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
3836
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-17", departureDateTo: "2027-01-15", destination: "LHR", origin: "JFK" });
|
|
3837
3837
|
*/
|
|
3838
3838
|
calendar(input, options) {
|
|
3839
3839
|
return this._core.run("google_flights.calendar", input, options);
|
|
@@ -3846,7 +3846,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3846
3846
|
* Price: $0.00085 per request.
|
|
3847
3847
|
*
|
|
3848
3848
|
* @example
|
|
3849
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
3849
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-17", destination: "LHR", origin: "JFK" });
|
|
3850
3850
|
*/
|
|
3851
3851
|
search(input, options) {
|
|
3852
3852
|
return this._core.run("google_flights.search", input, options);
|
|
@@ -3867,7 +3867,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3867
3867
|
* Price: $0.0015 per request.
|
|
3868
3868
|
*
|
|
3869
3869
|
* @example
|
|
3870
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
3870
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-17", checkOut: "2026-12-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3871
3871
|
*/
|
|
3872
3872
|
details(input, options) {
|
|
3873
3873
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3880,7 +3880,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3880
3880
|
* Price: $0.0015 per request.
|
|
3881
3881
|
*
|
|
3882
3882
|
* @example
|
|
3883
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
3883
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-17", checkOut: "2026-12-19", country: "us", query: "hotels near times square new york" });
|
|
3884
3884
|
*/
|
|
3885
3885
|
search(input, options) {
|
|
3886
3886
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4619,7 +4619,7 @@ var InstagramNamespace = class {
|
|
|
4619
4619
|
*
|
|
4620
4620
|
* 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.
|
|
4621
4621
|
*
|
|
4622
|
-
* Price: $0.
|
|
4622
|
+
* Price: $0.0022 per request.
|
|
4623
4623
|
*
|
|
4624
4624
|
* @example
|
|
4625
4625
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -9117,7 +9117,7 @@ var VrboNamespace = class {
|
|
|
9117
9117
|
* Price: $0.00085 per request.
|
|
9118
9118
|
*
|
|
9119
9119
|
* @example
|
|
9120
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
9120
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-17", checkOut: "2026-12-20" });
|
|
9121
9121
|
*/
|
|
9122
9122
|
listing(input, options) {
|
|
9123
9123
|
return this._core.run("vrbo.listing", input, options);
|
|
@@ -9130,7 +9130,7 @@ var VrboNamespace = class {
|
|
|
9130
9130
|
* Price: $0.00085 per request.
|
|
9131
9131
|
*
|
|
9132
9132
|
* @example
|
|
9133
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
9133
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-17", checkOut: "2026-12-20", location: "Lake Tahoe", adults: 2 });
|
|
9134
9134
|
*/
|
|
9135
9135
|
search(input, options) {
|
|
9136
9136
|
return this._core.run("vrbo.search", input, options);
|