@getanyapi/sdk 0.119.1 → 0.119.3
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
|
@@ -1614,7 +1614,7 @@ var BookingNamespace = class {
|
|
|
1614
1614
|
* Price: $0.0022 per request plus $0.00495 per result (maximum $0.102).
|
|
1615
1615
|
*
|
|
1616
1616
|
* @example
|
|
1617
|
-
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-
|
|
1617
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-11-18", checkOut: "2026-11-20", limit: 3 });
|
|
1618
1618
|
*/
|
|
1619
1619
|
search(input, options) {
|
|
1620
1620
|
return this._core.run("booking.search", input, options);
|
|
@@ -2158,7 +2158,7 @@ var EmailNamespace = class {
|
|
|
2158
2158
|
*
|
|
2159
2159
|
* Find a person's work email address from their name and company domain.
|
|
2160
2160
|
*
|
|
2161
|
-
* Price: $0.
|
|
2161
|
+
* Price: $0.0308 per request.
|
|
2162
2162
|
*
|
|
2163
2163
|
* @example
|
|
2164
2164
|
* const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
|
|
@@ -3667,7 +3667,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3667
3667
|
* Price: $0.0015 per request.
|
|
3668
3668
|
*
|
|
3669
3669
|
* @example
|
|
3670
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-11-
|
|
3670
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
3671
3671
|
*/
|
|
3672
3672
|
details(input, options) {
|
|
3673
3673
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -3680,7 +3680,7 @@ var GoogleHotelsNamespace = class {
|
|
|
3680
3680
|
* Price: $0.0015 per request.
|
|
3681
3681
|
*
|
|
3682
3682
|
* @example
|
|
3683
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-11-
|
|
3683
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-11-18", checkOut: "2026-11-20", country: "us", query: "hotels near times square new york" });
|
|
3684
3684
|
*/
|
|
3685
3685
|
search(input, options) {
|
|
3686
3686
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4330,7 +4330,7 @@ var InstagramNamespace = class {
|
|
|
4330
4330
|
*
|
|
4331
4331
|
* List the accounts Instagram recommends as similar to a public profile, with each account's handle, display name, verified flag and avatar.
|
|
4332
4332
|
*
|
|
4333
|
-
* Price: $0.
|
|
4333
|
+
* Price: $0.027 per request.
|
|
4334
4334
|
*
|
|
4335
4335
|
* @example
|
|
4336
4336
|
* const res = await client.instagram.similarProfiles({ handle: "nasa" });
|
|
@@ -4861,7 +4861,7 @@ var LinkedinNamespace = class {
|
|
|
4861
4861
|
*
|
|
4862
4862
|
* Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
|
|
4863
4863
|
*
|
|
4864
|
-
* Price: $0 per request
|
|
4864
|
+
* Price: $0.005 per request.
|
|
4865
4865
|
*
|
|
4866
4866
|
* @example
|
|
4867
4867
|
* const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
|
|
@@ -7130,7 +7130,7 @@ var TiktokNamespace = class {
|
|
|
7130
7130
|
*
|
|
7131
7131
|
* 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.
|
|
7132
7132
|
*
|
|
7133
|
-
* Price: $0.
|
|
7133
|
+
* Price: $0.00187 per request plus $0 per result (maximum $0.00187).
|
|
7134
7134
|
*
|
|
7135
7135
|
* @example
|
|
7136
7136
|
* const res = await client.tiktok.profileContact({ handle: "gordonramsayofficial" });
|
|
@@ -7456,7 +7456,7 @@ var TiktokNamespace = class {
|
|
|
7456
7456
|
*
|
|
7457
7457
|
* Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
|
|
7458
7458
|
*
|
|
7459
|
-
* Price: $0.
|
|
7459
|
+
* Price: $0.0008 per request.
|
|
7460
7460
|
*
|
|
7461
7461
|
* @example
|
|
7462
7462
|
* const res = await client.tiktok.trendingFeed({ region: "US" });
|
|
@@ -7482,7 +7482,7 @@ var TiktokNamespace = class {
|
|
|
7482
7482
|
*
|
|
7483
7483
|
* Fetch a single TikTok video by URL with its caption and engagement counts (views, likes, comments, shares, saves).
|
|
7484
7484
|
*
|
|
7485
|
-
* Price: $0.
|
|
7485
|
+
* Price: $0.0004 per request.
|
|
7486
7486
|
*
|
|
7487
7487
|
* @example
|
|
7488
7488
|
* 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" });
|