@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.cjs
CHANGED
|
@@ -1705,7 +1705,7 @@ var BookingNamespace = class {
|
|
|
1705
1705
|
* Price: $0.0008 per request.
|
|
1706
1706
|
*
|
|
1707
1707
|
* @example
|
|
1708
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
1708
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-22", checkOut: "2026-12-24", limit: 3 });
|
|
1709
1709
|
*/
|
|
1710
1710
|
search(input, options) {
|
|
1711
1711
|
return this._core.run("booking.search", input, options);
|
|
@@ -3170,7 +3170,7 @@ var FacebookNamespace = class {
|
|
|
3170
3170
|
*
|
|
3171
3171
|
* List a Facebook page's recent posts by URL or page id with cursor pagination (text, author, publication time, permalink).
|
|
3172
3172
|
*
|
|
3173
|
-
* Price: $0.
|
|
3173
|
+
* Price: $0.0012 per request.
|
|
3174
3174
|
*
|
|
3175
3175
|
* @example
|
|
3176
3176
|
* const res = await client.facebook.profilePosts({ url: "https://www.facebook.com/nike" });
|
|
@@ -4032,7 +4032,7 @@ var GoogleFlightsNamespace = class {
|
|
|
4032
4032
|
* Price: $0.00085 per request.
|
|
4033
4033
|
*
|
|
4034
4034
|
* @example
|
|
4035
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
4035
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-22", departureDateTo: "2027-01-20", destination: "LHR", origin: "JFK" });
|
|
4036
4036
|
*/
|
|
4037
4037
|
calendar(input, options) {
|
|
4038
4038
|
return this._core.run("google_flights.calendar", input, options);
|
|
@@ -4045,7 +4045,7 @@ var GoogleFlightsNamespace = class {
|
|
|
4045
4045
|
* Price: $0.00085 per request.
|
|
4046
4046
|
*
|
|
4047
4047
|
* @example
|
|
4048
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
4048
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-22", destination: "LHR", origin: "JFK" });
|
|
4049
4049
|
*/
|
|
4050
4050
|
search(input, options) {
|
|
4051
4051
|
return this._core.run("google_flights.search", input, options);
|
|
@@ -4066,7 +4066,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4066
4066
|
* Price: $0.0015 per request.
|
|
4067
4067
|
*
|
|
4068
4068
|
* @example
|
|
4069
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
4069
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
4070
4070
|
*/
|
|
4071
4071
|
details(input, options) {
|
|
4072
4072
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -4079,7 +4079,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4079
4079
|
* Price: $0.0048 per request.
|
|
4080
4080
|
*
|
|
4081
4081
|
* @example
|
|
4082
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
4082
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-22", checkOut: "2026-12-24", country: "us", query: "hotels near times square new york" });
|
|
4083
4083
|
*/
|
|
4084
4084
|
search(input, options) {
|
|
4085
4085
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4818,7 +4818,7 @@ var InstagramNamespace = class {
|
|
|
4818
4818
|
*
|
|
4819
4819
|
* 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.
|
|
4820
4820
|
*
|
|
4821
|
-
* Price: $0.
|
|
4821
|
+
* Price: $0.0022 per request.
|
|
4822
4822
|
*
|
|
4823
4823
|
* @example
|
|
4824
4824
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -4883,7 +4883,7 @@ var InstagramNamespace = class {
|
|
|
4883
4883
|
*
|
|
4884
4884
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
4885
4885
|
*
|
|
4886
|
-
* Price: $0.
|
|
4886
|
+
* Price: $0.00135 per request.
|
|
4887
4887
|
*
|
|
4888
4888
|
* @example
|
|
4889
4889
|
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
@@ -9316,7 +9316,7 @@ var VrboNamespace = class {
|
|
|
9316
9316
|
* Price: $0.00085 per request.
|
|
9317
9317
|
*
|
|
9318
9318
|
* @example
|
|
9319
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
9319
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-22", checkOut: "2026-12-25" });
|
|
9320
9320
|
*/
|
|
9321
9321
|
listing(input, options) {
|
|
9322
9322
|
return this._core.run("vrbo.listing", input, options);
|
|
@@ -9329,7 +9329,7 @@ var VrboNamespace = class {
|
|
|
9329
9329
|
* Price: $0.00085 per request.
|
|
9330
9330
|
*
|
|
9331
9331
|
* @example
|
|
9332
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
9332
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-22", checkOut: "2026-12-25", location: "Lake Tahoe", adults: 2 });
|
|
9333
9333
|
*/
|
|
9334
9334
|
search(input, options) {
|
|
9335
9335
|
return this._core.run("vrbo.search", input, options);
|