@getanyapi/sdk 0.172.3 → 0.173.1
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 +28 -10
- package/dist/index.d.ts +28 -10
- package/dist/index.js +10 -10
- 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-20", checkOut: "2026-12-22", limit: 3 });
|
|
1708
1708
|
*/
|
|
1709
1709
|
search(input, options) {
|
|
1710
1710
|
return this._core.run("booking.search", 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.calendar({ departureDateFrom: "2026-12-
|
|
3987
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-20", departureDateTo: "2027-01-18", 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-20", 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-20", checkOut: "2026-12-22", 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-20", checkOut: "2026-12-22", 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);
|
|
@@ -5309,7 +5309,7 @@ var LinkedinNamespace = class {
|
|
|
5309
5309
|
*
|
|
5310
5310
|
* Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
|
|
5311
5311
|
*
|
|
5312
|
-
* Price: $0.
|
|
5312
|
+
* Price: $0.00057 per request.
|
|
5313
5313
|
*
|
|
5314
5314
|
* @example
|
|
5315
5315
|
* const res = await client.linkedin.jobsThin({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
|
|
@@ -6443,7 +6443,7 @@ var PropertyRecordsNamespace = class {
|
|
|
6443
6443
|
/**
|
|
6444
6444
|
* Property Records - Enformion
|
|
6445
6445
|
*
|
|
6446
|
-
* Look up the public property records for one US address: current and previous owners, parcel number (APN), last sale, assessed and market values, property tax, beds, baths, living area, lot size, year built, land use, and zoning. One address can match several parcels, and every match is returned. Billed
|
|
6446
|
+
* Look up the public property records for one US address: current and previous owners, parcel number (APN), last sale, assessed and market values, property tax, beds, baths, living area, lot size, year built, land use, and zoning. One address can match several parcels, and every match is returned, up to 50. Billed once per lookup that finds a record, however many parcels it returns.
|
|
6447
6447
|
*
|
|
6448
6448
|
* Price: $0.1536 per request.
|
|
6449
6449
|
*
|
|
@@ -8512,7 +8512,7 @@ var TiktokNamespace = class {
|
|
|
8512
8512
|
*
|
|
8513
8513
|
* Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
|
|
8514
8514
|
*
|
|
8515
|
-
* Price: $0.
|
|
8515
|
+
* Price: $0.00045 per request.
|
|
8516
8516
|
*
|
|
8517
8517
|
* @example
|
|
8518
8518
|
* const res = await client.tiktok.video({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287?_r=1&u_code=elgjf3ff8cajhk&preview_pb=0&sharer_language=en&_d=elh6737j6kjl71&share_item_id=7654638524729216287&source=h5_m" });
|
|
@@ -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-20", checkOut: "2026-12-23" });
|
|
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-20", checkOut: "2026-12-23", location: "Lake Tahoe", adults: 2 });
|
|
9285
9285
|
*/
|
|
9286
9286
|
search(input, options) {
|
|
9287
9287
|
return this._core.run("vrbo.search", input, options);
|