@getanyapi/sdk 0.152.11 → 0.152.13
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 +12 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +12 -12
- 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.0008 per request.
|
|
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-16", checkOut: "2026-12-18", 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/" });
|
|
@@ -3795,7 +3795,7 @@ var GoogleNamespace = class {
|
|
|
3795
3795
|
*
|
|
3796
3796
|
* Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is normally cheaper past roughly 20 results.
|
|
3797
3797
|
*
|
|
3798
|
-
* Price: $0.
|
|
3798
|
+
* Price: $0.0005 per request.
|
|
3799
3799
|
*
|
|
3800
3800
|
* @example
|
|
3801
3801
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -3824,7 +3824,7 @@ var GoogleNamespace = class {
|
|
|
3824
3824
|
*
|
|
3825
3825
|
* Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One charge per call whatever the depth, which normally makes it cheaper than paging google.search past roughly 20 results; when the backup source has to answer, the call costs more, up to $0.024. It reads ten pages of Google to build the list, so a call can take up to about five minutes - use google.search when you want the first page back in a second.
|
|
3826
3826
|
*
|
|
3827
|
-
* Price: $0.
|
|
3827
|
+
* Price: $0.0018 per request.
|
|
3828
3828
|
*
|
|
3829
3829
|
* @example
|
|
3830
3830
|
* const res = await client.google.search100({ query: "best crm software", gl: "us", hl: "en" });
|
|
@@ -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-16", departureDateTo: "2027-01-14", 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-16", 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-16", checkOut: "2026-12-18", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
4009
4009
|
*/
|
|
4010
4010
|
details(input, options) {
|
|
4011
4011
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -4015,10 +4015,10 @@ var GoogleHotelsNamespace = class {
|
|
|
4015
4015
|
*
|
|
4016
4016
|
* Search Google Hotels by destination and dates and get hotels with their Google property ID, nightly price, rating, review count, coordinates, star class and photos as normalized JSON.
|
|
4017
4017
|
*
|
|
4018
|
-
* Price: $0.
|
|
4018
|
+
* Price: $0.0048 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-16", checkOut: "2026-12-18", 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-16", checkOut: "2026-12-19" });
|
|
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-16", checkOut: "2026-12-19", location: "Lake Tahoe", adults: 2 });
|
|
9272
9272
|
*/
|
|
9273
9273
|
search(input, options) {
|
|
9274
9274
|
return this._core.run("vrbo.search", input, options);
|