@getanyapi/sdk 0.148.3 → 0.148.5
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
|
@@ -1423,7 +1423,7 @@ var AmazonNamespace = class {
|
|
|
1423
1423
|
*
|
|
1424
1424
|
* Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
|
|
1425
1425
|
*
|
|
1426
|
-
* Price: $0.
|
|
1426
|
+
* Price: $0.0013 per request.
|
|
1427
1427
|
*
|
|
1428
1428
|
* @example
|
|
1429
1429
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
|
|
@@ -1726,7 +1726,7 @@ var BingNamespace = class {
|
|
|
1726
1726
|
*
|
|
1727
1727
|
* Ask Microsoft Copilot (the AI answer in Bing) a question and get its web-grounded answer with the sources it cites as clean JSON - for tracking how Copilot answers and which sites it cites.
|
|
1728
1728
|
*
|
|
1729
|
-
* Price: $0.
|
|
1729
|
+
* Price: $0.00085 per request.
|
|
1730
1730
|
*
|
|
1731
1731
|
* @example
|
|
1732
1732
|
* const res = await client.bing.copilot({ prompt: "what is the capital of australia and why" });
|
|
@@ -1810,7 +1810,7 @@ var BookingNamespace = class {
|
|
|
1810
1810
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1811
1811
|
*
|
|
1812
1812
|
* @example
|
|
1813
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
1813
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-05", checkOut: "2026-12-07", limit: 3 });
|
|
1814
1814
|
*/
|
|
1815
1815
|
search(input, options) {
|
|
1816
1816
|
return this._core.run("booking.search", input, options);
|
|
@@ -3630,7 +3630,7 @@ var GoogleNamespace = class {
|
|
|
3630
3630
|
*
|
|
3631
3631
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
3632
3632
|
*
|
|
3633
|
-
* Price: $0.
|
|
3633
|
+
* Price: $0.0015 per request.
|
|
3634
3634
|
*
|
|
3635
3635
|
* @example
|
|
3636
3636
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3965,7 +3965,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3965
3965
|
* Price: $0.001 per request.
|
|
3966
3966
|
*
|
|
3967
3967
|
* @example
|
|
3968
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
3968
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-05", destination: "LHR", origin: "JFK" });
|
|
3969
3969
|
*/
|
|
3970
3970
|
search(input, options) {
|
|
3971
3971
|
return this._core.run("google_flights.search", input, options);
|
|
@@ -3986,7 +3986,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3986
3986
|
* Price: $0.0015 per request.
|
|
3987
3987
|
*
|
|
3988
3988
|
* @example
|
|
3989
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
3989
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-05", checkOut: "2026-12-07", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3990
3990
|
*/
|
|
3991
3991
|
details(input, options) {
|
|
3992
3992
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3999,7 +3999,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3999
3999
|
* Price: $0.0015 per request.
|
|
4000
4000
|
*
|
|
4001
4001
|
* @example
|
|
4002
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
4002
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-05", checkOut: "2026-12-07", country: "us", query: "hotels near times square new york" });
|
|
4003
4003
|
*/
|
|
4004
4004
|
search(input, options) {
|
|
4005
4005
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -7857,7 +7857,7 @@ var TiktokNamespace = class {
|
|
|
7857
7857
|
*
|
|
7858
7858
|
* Find the public contact email behind a TikTok creator's profile: the address written into the bio plus any published on the site the profile links to, each labelled with where it came from. Returns the creator's profile stats and linked social accounts alongside.
|
|
7859
7859
|
*
|
|
7860
|
-
* Price: $0.
|
|
7860
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
7861
7861
|
*
|
|
7862
7862
|
* @example
|
|
7863
7863
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
|
@@ -8978,7 +8978,7 @@ var VrboNamespace = class {
|
|
|
8978
8978
|
* Price: $0.001 per request.
|
|
8979
8979
|
*
|
|
8980
8980
|
* @example
|
|
8981
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
8981
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-05", checkOut: "2026-12-08", location: "Lake Tahoe", adults: 2, limit: 5 });
|
|
8982
8982
|
*/
|
|
8983
8983
|
search(input, options) {
|
|
8984
8984
|
return this._core.run("vrbo.search", input, options);
|