@getanyapi/sdk 0.157.0 → 0.157.2
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.cjs
CHANGED
|
@@ -1704,7 +1704,7 @@ var BookingNamespace = class {
|
|
|
1704
1704
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1705
1705
|
*
|
|
1706
1706
|
* @example
|
|
1707
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
1707
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-17", checkOut: "2026-12-19", limit: 3 });
|
|
1708
1708
|
*/
|
|
1709
1709
|
search(input, options) {
|
|
1710
1710
|
return this._core.run("booking.search", input, options);
|
|
@@ -2869,7 +2869,7 @@ var FacebookNamespace = class {
|
|
|
2869
2869
|
*
|
|
2870
2870
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
2871
2871
|
*
|
|
2872
|
-
* Price: $0.
|
|
2872
|
+
* Price: $0.0012 per request.
|
|
2873
2873
|
*
|
|
2874
2874
|
* @example
|
|
2875
2875
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -3971,7 +3971,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3971
3971
|
* Price: $0.00085 per request.
|
|
3972
3972
|
*
|
|
3973
3973
|
* @example
|
|
3974
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
3974
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-17", departureDateTo: "2027-01-15", destination: "LHR", origin: "JFK" });
|
|
3975
3975
|
*/
|
|
3976
3976
|
calendar(input, options) {
|
|
3977
3977
|
return this._core.run("google_flights.calendar", input, options);
|
|
@@ -3984,7 +3984,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3984
3984
|
* Price: $0.00085 per request.
|
|
3985
3985
|
*
|
|
3986
3986
|
* @example
|
|
3987
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
3987
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-17", destination: "LHR", origin: "JFK" });
|
|
3988
3988
|
*/
|
|
3989
3989
|
search(input, options) {
|
|
3990
3990
|
return this._core.run("google_flights.search", input, options);
|
|
@@ -4005,7 +4005,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4005
4005
|
* Price: $0.0015 per request.
|
|
4006
4006
|
*
|
|
4007
4007
|
* @example
|
|
4008
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
4008
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-17", checkOut: "2026-12-19", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
4009
4009
|
*/
|
|
4010
4010
|
details(input, options) {
|
|
4011
4011
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -4018,7 +4018,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4018
4018
|
* Price: $0.0015 per request.
|
|
4019
4019
|
*
|
|
4020
4020
|
* @example
|
|
4021
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
4021
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-17", checkOut: "2026-12-19", country: "us", query: "hotels near times square new york" });
|
|
4022
4022
|
*/
|
|
4023
4023
|
search(input, options) {
|
|
4024
4024
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4757,7 +4757,7 @@ var InstagramNamespace = class {
|
|
|
4757
4757
|
*
|
|
4758
4758
|
* 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.
|
|
4759
4759
|
*
|
|
4760
|
-
* Price: $0.
|
|
4760
|
+
* Price: $0.00175 per request.
|
|
4761
4761
|
*
|
|
4762
4762
|
* @example
|
|
4763
4763
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -9255,7 +9255,7 @@ var VrboNamespace = class {
|
|
|
9255
9255
|
* Price: $0.00085 per request.
|
|
9256
9256
|
*
|
|
9257
9257
|
* @example
|
|
9258
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
9258
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-17", checkOut: "2026-12-20" });
|
|
9259
9259
|
*/
|
|
9260
9260
|
listing(input, options) {
|
|
9261
9261
|
return this._core.run("vrbo.listing", input, options);
|
|
@@ -9268,7 +9268,7 @@ var VrboNamespace = class {
|
|
|
9268
9268
|
* Price: $0.00085 per request.
|
|
9269
9269
|
*
|
|
9270
9270
|
* @example
|
|
9271
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
9271
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-17", checkOut: "2026-12-20", location: "Lake Tahoe", adults: 2 });
|
|
9272
9272
|
*/
|
|
9273
9273
|
search(input, options) {
|
|
9274
9274
|
return this._core.run("vrbo.search", input, options);
|