@getanyapi/sdk 0.175.4 → 0.175.6
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
|
@@ -1429,7 +1429,7 @@ var AmazonNamespace = class {
|
|
|
1429
1429
|
*
|
|
1430
1430
|
* Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
|
|
1431
1431
|
*
|
|
1432
|
-
* Price: $0.
|
|
1432
|
+
* Price: $0.00075 per request.
|
|
1433
1433
|
*
|
|
1434
1434
|
* @example
|
|
1435
1435
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
|
|
@@ -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-21", checkOut: "2026-12-23", limit: 3 });
|
|
1708
1708
|
*/
|
|
1709
1709
|
search(input, options) {
|
|
1710
1710
|
return this._core.run("booking.search", input, options);
|
|
@@ -3756,7 +3756,7 @@ var GoogleNamespace = class {
|
|
|
3756
3756
|
*
|
|
3757
3757
|
* Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
|
|
3758
3758
|
*
|
|
3759
|
-
* Price: $0.
|
|
3759
|
+
* Price: $0.00087 per request.
|
|
3760
3760
|
*
|
|
3761
3761
|
* @example
|
|
3762
3762
|
* const res = await client.google.news({ query: "openai", gl: "us", hl: "en" });
|
|
@@ -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.calendar({ departureDateFrom: "2026-12-
|
|
3987
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-21", departureDateTo: "2027-01-19", destination: "LHR", origin: "JFK" });
|
|
3988
3988
|
*/
|
|
3989
3989
|
calendar(input, options) {
|
|
3990
3990
|
return this._core.run("google_flights.calendar", input, options);
|
|
@@ -3997,7 +3997,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3997
3997
|
* Price: $0.00085 per request.
|
|
3998
3998
|
*
|
|
3999
3999
|
* @example
|
|
4000
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
4000
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-21", destination: "LHR", origin: "JFK" });
|
|
4001
4001
|
*/
|
|
4002
4002
|
search(input, options) {
|
|
4003
4003
|
return this._core.run("google_flights.search", 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.details({ checkIn: "2026-12-
|
|
4021
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-21", checkOut: "2026-12-23", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
4022
4022
|
*/
|
|
4023
4023
|
details(input, options) {
|
|
4024
4024
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -4031,7 +4031,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4031
4031
|
* Price: $0.0015 per request.
|
|
4032
4032
|
*
|
|
4033
4033
|
* @example
|
|
4034
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
4034
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-21", checkOut: "2026-12-23", country: "us", query: "hotels near times square new york" });
|
|
4035
4035
|
*/
|
|
4036
4036
|
search(input, options) {
|
|
4037
4037
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -8976,7 +8976,7 @@ var TwitterNamespace = class {
|
|
|
8976
8976
|
*
|
|
8977
8977
|
* Fetch a Twitter/X account's public profile (followers, tweets, bio, verification) by handle.
|
|
8978
8978
|
*
|
|
8979
|
-
* Price: $0.
|
|
8979
|
+
* Price: $0.00019 per request.
|
|
8980
8980
|
*
|
|
8981
8981
|
* @example
|
|
8982
8982
|
* const res = await client.twitter.profile({ handle: "nasa" });
|
|
@@ -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.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
9271
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-21", checkOut: "2026-12-24" });
|
|
9272
9272
|
*/
|
|
9273
9273
|
listing(input, options) {
|
|
9274
9274
|
return this._core.run("vrbo.listing", input, options);
|
|
@@ -9281,7 +9281,7 @@ var VrboNamespace = class {
|
|
|
9281
9281
|
* Price: $0.00085 per request.
|
|
9282
9282
|
*
|
|
9283
9283
|
* @example
|
|
9284
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
9284
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-21", checkOut: "2026-12-24", location: "Lake Tahoe", adults: 2 });
|
|
9285
9285
|
*/
|
|
9286
9286
|
search(input, options) {
|
|
9287
9287
|
return this._core.run("vrbo.search", input, options);
|