@getanyapi/sdk 0.98.0 → 0.98.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 +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1553,7 +1553,7 @@ var BookingNamespace = class {
|
|
|
1553
1553
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1554
1554
|
*
|
|
1555
1555
|
* @example
|
|
1556
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1556
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-11", checkOut: "2026-11-13", limit: 3 });
|
|
1557
1557
|
*/
|
|
1558
1558
|
search(input, options) {
|
|
1559
1559
|
return this._core.run("booking.search", input, options);
|
|
@@ -2904,7 +2904,7 @@ var GeminiNamespace = class {
|
|
|
2904
2904
|
*
|
|
2905
2905
|
* Ask Gemini a web-grounded question and receive an answer with source citations.
|
|
2906
2906
|
*
|
|
2907
|
-
* Price: $0.
|
|
2907
|
+
* Price: $0.0048 per request.
|
|
2908
2908
|
*
|
|
2909
2909
|
* @example
|
|
2910
2910
|
* const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -3444,7 +3444,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3444
3444
|
* Price: $0.0015 per request.
|
|
3445
3445
|
*
|
|
3446
3446
|
* @example
|
|
3447
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3447
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-11", checkOut: "2026-11-13", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3448
3448
|
*/
|
|
3449
3449
|
details(input, options) {
|
|
3450
3450
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3457,7 +3457,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3457
3457
|
* Price: $0.0015 per request.
|
|
3458
3458
|
*
|
|
3459
3459
|
* @example
|
|
3460
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3460
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-11", checkOut: "2026-11-13", country: "us", query: "hotels near times square new york" });
|
|
3461
3461
|
*/
|
|
3462
3462
|
search(input, options) {
|
|
3463
3463
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4748,7 +4748,7 @@ var LinkedinNamespace = class {
|
|
|
4748
4748
|
*
|
|
4749
4749
|
* Search public LinkedIn posts with rich author, engagement, attachment, and poll details.
|
|
4750
4750
|
*
|
|
4751
|
-
* Price: $0.
|
|
4751
|
+
* Price: $0.004 per request.
|
|
4752
4752
|
*
|
|
4753
4753
|
* @example
|
|
4754
4754
|
* const res = await client.linkedin.searchPostsFull({ query: "artificial intelligence", datePosted: "last-week", limit: 10, sort: "relevance" });
|