@getanyapi/sdk 0.190.8 → 0.191.0
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 +19 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -20
- package/dist/index.d.ts +24 -20
- package/dist/index.js +19 -19
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1717,7 +1717,7 @@ var BookingNamespace = class {
|
|
|
1717
1717
|
* Price: $0.0024 per request plus $0.0054 per result (maximum $0.111).
|
|
1718
1718
|
*
|
|
1719
1719
|
* @example
|
|
1720
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-
|
|
1720
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-12-24", checkOut: "2026-12-26", limit: 3 });
|
|
1721
1721
|
*/
|
|
1722
1722
|
search(input, options) {
|
|
1723
1723
|
return this._core.run("booking.search", input, options);
|
|
@@ -3816,7 +3816,7 @@ var GoogleNamespace = class {
|
|
|
3816
3816
|
*
|
|
3817
3817
|
* Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
|
|
3818
3818
|
*
|
|
3819
|
-
* Price: $0.
|
|
3819
|
+
* Price: $0.00085 per request.
|
|
3820
3820
|
*
|
|
3821
3821
|
* @example
|
|
3822
3822
|
* const res = await client.google.news({ query: "openai", gl: "us", hl: "en" });
|
|
@@ -3970,7 +3970,7 @@ var GoogleAdsNamespace = class {
|
|
|
3970
3970
|
*
|
|
3971
3971
|
* List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.
|
|
3972
3972
|
*
|
|
3973
|
-
* Price: $0.
|
|
3973
|
+
* Price: $0.00078 per request.
|
|
3974
3974
|
*
|
|
3975
3975
|
* @example
|
|
3976
3976
|
* const res = await client.googleAds.companyAds({ domain: "lululemon.com" });
|
|
@@ -4044,7 +4044,7 @@ var GoogleFlightsNamespace = class {
|
|
|
4044
4044
|
* Price: $0.00085 per request.
|
|
4045
4045
|
*
|
|
4046
4046
|
* @example
|
|
4047
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
4047
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-24", departureDateTo: "2027-01-22", destination: "LHR", origin: "JFK" });
|
|
4048
4048
|
*/
|
|
4049
4049
|
calendar(input, options) {
|
|
4050
4050
|
return this._core.run("google_flights.calendar", input, options);
|
|
@@ -4057,7 +4057,7 @@ var GoogleFlightsNamespace = class {
|
|
|
4057
4057
|
* Price: $0.00085 per request.
|
|
4058
4058
|
*
|
|
4059
4059
|
* @example
|
|
4060
|
-
* const res = await client.googleFlights.search({ departureDate: "2026-12-
|
|
4060
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-24", destination: "LHR", origin: "JFK" });
|
|
4061
4061
|
*/
|
|
4062
4062
|
search(input, options) {
|
|
4063
4063
|
return this._core.run("google_flights.search", input, options);
|
|
@@ -4078,7 +4078,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4078
4078
|
* Price: $0.0015 per request.
|
|
4079
4079
|
*
|
|
4080
4080
|
* @example
|
|
4081
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
4081
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-24", checkOut: "2026-12-26", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
4082
4082
|
*/
|
|
4083
4083
|
details(input, options) {
|
|
4084
4084
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -4091,7 +4091,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4091
4091
|
* Price: $0.0015 per request.
|
|
4092
4092
|
*
|
|
4093
4093
|
* @example
|
|
4094
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
4094
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-24", checkOut: "2026-12-26", country: "us", query: "hotels near times square new york" });
|
|
4095
4095
|
*/
|
|
4096
4096
|
search(input, options) {
|
|
4097
4097
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4691,7 +4691,7 @@ var InstagramNamespace = class {
|
|
|
4691
4691
|
*
|
|
4692
4692
|
* Search Instagram for users, hashtags, or places by keyword and get matching results with names, counts, and links.
|
|
4693
4693
|
*
|
|
4694
|
-
* Price: $0.
|
|
4694
|
+
* Price: $0.00126 per request.
|
|
4695
4695
|
*
|
|
4696
4696
|
* @example
|
|
4697
4697
|
* const res = await client.instagram.search({ query: "nasa" });
|
|
@@ -4963,7 +4963,7 @@ var InstagramNamespace = class {
|
|
|
4963
4963
|
*
|
|
4964
4964
|
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
|
|
4965
4965
|
*
|
|
4966
|
-
* Price: $0.
|
|
4966
|
+
* Price: $0.00068 per request.
|
|
4967
4967
|
*
|
|
4968
4968
|
* @example
|
|
4969
4969
|
* const res = await client.instagram.userPosts({ handle: "nasa" });
|
|
@@ -5382,7 +5382,7 @@ var LinkedinNamespace = class {
|
|
|
5382
5382
|
*
|
|
5383
5383
|
* Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
|
|
5384
5384
|
*
|
|
5385
|
-
* Price: $0.
|
|
5385
|
+
* Price: $0.00054 per request.
|
|
5386
5386
|
*
|
|
5387
5387
|
* @example
|
|
5388
5388
|
* const res = await client.linkedin.jobsThin({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
|
|
@@ -8220,7 +8220,7 @@ var TiktokNamespace = class {
|
|
|
8220
8220
|
*
|
|
8221
8221
|
* Fetch a TikTok creator's public profile (followers, likes, bio, verification) by handle.
|
|
8222
8222
|
*
|
|
8223
|
-
* Price: $0.
|
|
8223
|
+
* Price: $0.00038 per request.
|
|
8224
8224
|
*
|
|
8225
8225
|
* @example
|
|
8226
8226
|
* const res = await client.tiktok.profile({ handle: "zachking" });
|
|
@@ -9354,7 +9354,7 @@ var VrboNamespace = class {
|
|
|
9354
9354
|
* Price: $0.00085 per request.
|
|
9355
9355
|
*
|
|
9356
9356
|
* @example
|
|
9357
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
9357
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-24", checkOut: "2026-12-27" });
|
|
9358
9358
|
*/
|
|
9359
9359
|
listing(input, options) {
|
|
9360
9360
|
return this._core.run("vrbo.listing", input, options);
|
|
@@ -9367,7 +9367,7 @@ var VrboNamespace = class {
|
|
|
9367
9367
|
* Price: $0.00085 per request.
|
|
9368
9368
|
*
|
|
9369
9369
|
* @example
|
|
9370
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
9370
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-24", checkOut: "2026-12-27", location: "Lake Tahoe", adults: 2 });
|
|
9371
9371
|
*/
|
|
9372
9372
|
search(input, options) {
|
|
9373
9373
|
return this._core.run("vrbo.search", input, options);
|
|
@@ -9652,7 +9652,7 @@ var YoutubeNamespace = class {
|
|
|
9652
9652
|
*
|
|
9653
9653
|
* Fetch a YouTube channel's stats (subscribers, video count, total views, description) and the links on its About page, by handle or channel ID.
|
|
9654
9654
|
*
|
|
9655
|
-
* Price: $0.
|
|
9655
|
+
* Price: $0.00039 per request.
|
|
9656
9656
|
*
|
|
9657
9657
|
* @example
|
|
9658
9658
|
* const res = await client.youtube.channel({ handle: "@mkbhd" });
|
|
@@ -9807,7 +9807,7 @@ var YoutubeNamespace = class {
|
|
|
9807
9807
|
*
|
|
9808
9808
|
* List a YouTube channel's videos by handle or channel ID with cursor pagination (title, views, length, publish time).
|
|
9809
9809
|
*
|
|
9810
|
-
* Price: $0.
|
|
9810
|
+
* Price: $0.00073 per request.
|
|
9811
9811
|
*
|
|
9812
9812
|
* @example
|
|
9813
9813
|
* const res = await client.youtube.channelVideos({ handle: "@mkbhd" });
|
|
@@ -9891,7 +9891,7 @@ var YoutubeNamespace = class {
|
|
|
9891
9891
|
*
|
|
9892
9892
|
* Search YouTube and get matching videos (title, channel, views, length, publish time) as normalized JSON.
|
|
9893
9893
|
*
|
|
9894
|
-
* Price: $0.
|
|
9894
|
+
* Price: $0.00036 per request.
|
|
9895
9895
|
*
|
|
9896
9896
|
* @example
|
|
9897
9897
|
* const res = await client.youtube.search({ query: "how to cook rice" });
|
|
@@ -9991,7 +9991,7 @@ var YoutubeNamespace = class {
|
|
|
9991
9991
|
*
|
|
9992
9992
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
9993
9993
|
*
|
|
9994
|
-
* Price: $0.
|
|
9994
|
+
* Price: $0.00061 per request.
|
|
9995
9995
|
*
|
|
9996
9996
|
* @example
|
|
9997
9997
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -10004,7 +10004,7 @@ var YoutubeNamespace = class {
|
|
|
10004
10004
|
*
|
|
10005
10005
|
* List the comments on a YouTube video or Short by URL with cursor pagination (text, author, likes, reply count).
|
|
10006
10006
|
*
|
|
10007
|
-
* Price: $0.
|
|
10007
|
+
* Price: $0.00072 per request.
|
|
10008
10008
|
*
|
|
10009
10009
|
* @example
|
|
10010
10010
|
* const res = await client.youtube.videoComments({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -10046,7 +10046,7 @@ var YoutubeNamespace = class {
|
|
|
10046
10046
|
*
|
|
10047
10047
|
* Fetch the transcript/captions of a YouTube video or Short by URL or ID.
|
|
10048
10048
|
*
|
|
10049
|
-
* Price: $0.
|
|
10049
|
+
* Price: $0.00083 per request.
|
|
10050
10050
|
*
|
|
10051
10051
|
* @example
|
|
10052
10052
|
* const res = await client.youtube.videoTranscript({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|