@getanyapi/sdk 0.151.4 → 0.151.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 +21 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -21
- package/dist/index.d.ts +21 -21
- package/dist/index.js +21 -21
- 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-15", checkOut: "2026-12-17", limit: 3 });
|
|
1708
1708
|
*/
|
|
1709
1709
|
search(input, options) {
|
|
1710
1710
|
return this._core.run("booking.search", input, options);
|
|
@@ -2785,7 +2785,7 @@ var FacebookNamespace = class {
|
|
|
2785
2785
|
*
|
|
2786
2786
|
* Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON.
|
|
2787
2787
|
*
|
|
2788
|
-
* Price: $0.
|
|
2788
|
+
* Price: $0.0004 per request.
|
|
2789
2789
|
*
|
|
2790
2790
|
* @example
|
|
2791
2791
|
* const res = await client.facebook.eventDetails({ id: "4045709448982422" });
|
|
@@ -2869,7 +2869,7 @@ var FacebookNamespace = class {
|
|
|
2869
2869
|
*
|
|
2870
2870
|
* Fetch recent posts from any public Facebook group by URL: text, author, reactions, and comment counts.
|
|
2871
2871
|
*
|
|
2872
|
-
* Price: $0.
|
|
2872
|
+
* Price: $0.00072 per request.
|
|
2873
2873
|
*
|
|
2874
2874
|
* @example
|
|
2875
2875
|
* const res = await client.facebook.groupPosts({ url: "https://www.facebook.com/groups/instantpotcommunity/" });
|
|
@@ -3012,7 +3012,7 @@ var FacebookNamespace = class {
|
|
|
3012
3012
|
*
|
|
3013
3013
|
* Fetch a single Facebook post by URL with its text and engagement counts (likes, comments, shares, views).
|
|
3014
3014
|
*
|
|
3015
|
-
* Price: $0.
|
|
3015
|
+
* Price: $0.00072 per request.
|
|
3016
3016
|
*
|
|
3017
3017
|
* @example
|
|
3018
3018
|
* const res = await client.facebook.post({ url: "https://www.facebook.com/reel/2166091230582141/" });
|
|
@@ -3971,7 +3971,7 @@ var GoogleFlightsNamespace = class {
|
|
|
3971
3971
|
* Price: $0.00085 per request.
|
|
3972
3972
|
*
|
|
3973
3973
|
* @example
|
|
3974
|
-
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-
|
|
3974
|
+
* const res = await client.googleFlights.calendar({ departureDateFrom: "2026-12-15", departureDateTo: "2027-01-13", destination: "LHR", origin: "JFK" });
|
|
3975
3975
|
*/
|
|
3976
3976
|
calendar(input, options) {
|
|
3977
3977
|
return this._core.run("google_flights.calendar", 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.search({ departureDate: "2026-12-
|
|
3987
|
+
* const res = await client.googleFlights.search({ departureDate: "2026-12-15", destination: "LHR", origin: "JFK" });
|
|
3988
3988
|
*/
|
|
3989
3989
|
search(input, options) {
|
|
3990
3990
|
return this._core.run("google_flights.search", input, options);
|
|
@@ -4005,7 +4005,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4005
4005
|
* Price: $0.0015 per request.
|
|
4006
4006
|
*
|
|
4007
4007
|
* @example
|
|
4008
|
-
* const res = await client.googleHotels.details({ checkIn: "2026-12-
|
|
4008
|
+
* const res = await client.googleHotels.details({ checkIn: "2026-12-15", checkOut: "2026-12-17", country: "us", propertyToken: "ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB" });
|
|
4009
4009
|
*/
|
|
4010
4010
|
details(input, options) {
|
|
4011
4011
|
return this._core.run("google_hotels.details", input, options);
|
|
@@ -4018,7 +4018,7 @@ var GoogleHotelsNamespace = class {
|
|
|
4018
4018
|
* Price: $0.0048 per request.
|
|
4019
4019
|
*
|
|
4020
4020
|
* @example
|
|
4021
|
-
* const res = await client.googleHotels.search({ checkIn: "2026-12-
|
|
4021
|
+
* const res = await client.googleHotels.search({ checkIn: "2026-12-15", checkOut: "2026-12-17", country: "us", query: "hotels near times square new york" });
|
|
4022
4022
|
*/
|
|
4023
4023
|
search(input, options) {
|
|
4024
4024
|
return this._core.run("google_hotels.search", input, options);
|
|
@@ -4482,7 +4482,7 @@ var InstagramNamespace = class {
|
|
|
4482
4482
|
*
|
|
4483
4483
|
* Fetch a single Instagram post or reel by URL (media URLs, like count, owner, type) as normalized JSON. Turn on hostVideo to also get the post's video on a hosted MP4 link that plays without an Instagram session, charged as an extra on top of the price. If you want the spoken words as well, instagram.reel_transcript transcribes the same reel.
|
|
4484
4484
|
*
|
|
4485
|
-
* Price: $0.
|
|
4485
|
+
* Price: $0.0004 per request.
|
|
4486
4486
|
*
|
|
4487
4487
|
* @example
|
|
4488
4488
|
* const res = await client.instagram.post({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -4550,7 +4550,7 @@ var InstagramNamespace = class {
|
|
|
4550
4550
|
*
|
|
4551
4551
|
* Look up the contact email and phone number an Instagram creator or business publishes on its profile, including the address behind the profile's Email button that public profile lookups do not return.
|
|
4552
4552
|
*
|
|
4553
|
-
* Price: $0.
|
|
4553
|
+
* Price: $0.0004 per request.
|
|
4554
4554
|
*
|
|
4555
4555
|
* @example
|
|
4556
4556
|
* const res = await client.instagram.profileContact({ handle: "eminenceorganics" });
|
|
@@ -5325,7 +5325,7 @@ var LinkedinNamespace = class {
|
|
|
5325
5325
|
*
|
|
5326
5326
|
* Fetch a single LinkedIn post or article by URL (title, text, author, like and comment counts, publish date).
|
|
5327
5327
|
*
|
|
5328
|
-
* Price: $0.
|
|
5328
|
+
* Price: $0.00064 per request.
|
|
5329
5329
|
*
|
|
5330
5330
|
* @example
|
|
5331
5331
|
* const res = await client.linkedin.post({ url: "https://www.linkedin.com/posts/stripe_last-week-agent-traffic-surpassed-human-activity-7470882737390940160-2Nxs" });
|
|
@@ -8866,7 +8866,7 @@ var TwitterNamespace = class {
|
|
|
8866
8866
|
*
|
|
8867
8867
|
* Get a public X long-form article from its wrapper post URL, including its author, engagement, cover image, and structured content blocks.
|
|
8868
8868
|
*
|
|
8869
|
-
* Price: $0.
|
|
8869
|
+
* Price: $0.00049 per request.
|
|
8870
8870
|
*
|
|
8871
8871
|
* @example
|
|
8872
8872
|
* const res = await client.twitter.article({ url: "https://x.com/Decentralisedco/status/1905545699552375179" });
|
|
@@ -8905,7 +8905,7 @@ var TwitterNamespace = class {
|
|
|
8905
8905
|
*
|
|
8906
8906
|
* Fetch the follower list of any public X (Twitter) account by username with cursor pagination. Limit is a per-page maximum and a native page holds up to 200 accounts; follow the response's nextCursor for more.
|
|
8907
8907
|
*
|
|
8908
|
-
* Price: $0.
|
|
8908
|
+
* Price: $0.00045 per request.
|
|
8909
8909
|
*
|
|
8910
8910
|
* @example
|
|
8911
8911
|
* const res = await client.twitter.followers({ username: "nasa", limit: 200 });
|
|
@@ -8976,7 +8976,7 @@ var TwitterNamespace = class {
|
|
|
8976
8976
|
*
|
|
8977
8977
|
* Fetch the replies to any X (Twitter) post URL as structured records: author, text, and engagement. An empty result is valid and does not assert whether the target post exists.
|
|
8978
8978
|
*
|
|
8979
|
-
* Price: $0.
|
|
8979
|
+
* Price: $0.00045 per request.
|
|
8980
8980
|
*
|
|
8981
8981
|
* @example
|
|
8982
8982
|
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20" });
|
|
@@ -9005,7 +9005,7 @@ var TwitterNamespace = class {
|
|
|
9005
9005
|
*
|
|
9006
9006
|
* Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane.
|
|
9007
9007
|
*
|
|
9008
|
-
* Price: $0.
|
|
9008
|
+
* Price: $0.00049 per request.
|
|
9009
9009
|
*
|
|
9010
9010
|
* @example
|
|
9011
9011
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -9063,7 +9063,7 @@ var TwitterNamespace = class {
|
|
|
9063
9063
|
*
|
|
9064
9064
|
* Search X (Twitter) accounts by keyword - the People tab of X search. Matches handles, display names, and profile bios, and returns normalized profile records with follower, following, and post counts plus cursor pagination. Use twitter.search for posts.
|
|
9065
9065
|
*
|
|
9066
|
-
* Price: $0.
|
|
9066
|
+
* Price: $0.00049 per request.
|
|
9067
9067
|
*
|
|
9068
9068
|
* @example
|
|
9069
9069
|
* const res = await client.twitter.searchUsers({ query: "ai agents" });
|
|
@@ -9092,7 +9092,7 @@ var TwitterNamespace = class {
|
|
|
9092
9092
|
*
|
|
9093
9093
|
* Resolve the linear self-thread containing an X (Twitter) post, from its root through the author's linked continuations. This excludes replies from other users.
|
|
9094
9094
|
*
|
|
9095
|
-
* Price: $0.
|
|
9095
|
+
* Price: $0.00242 per request.
|
|
9096
9096
|
*
|
|
9097
9097
|
* @example
|
|
9098
9098
|
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -9144,7 +9144,7 @@ var TwitterNamespace = class {
|
|
|
9144
9144
|
*
|
|
9145
9145
|
* Get an X (Twitter) account's profile Posts-tab timeline by handle. Results follow profile order: a pinned post may appear first, followed by otherwise reverse-chronological authored posts, reposts, quotes, and self-thread continuations.
|
|
9146
9146
|
*
|
|
9147
|
-
* Price: $0.
|
|
9147
|
+
* Price: $0.00045 per request.
|
|
9148
9148
|
*
|
|
9149
9149
|
* @example
|
|
9150
9150
|
* const res = await client.twitter.userPosts({ handle: "levelsio" });
|
|
@@ -9173,7 +9173,7 @@ var TwitterNamespace = class {
|
|
|
9173
9173
|
*
|
|
9174
9174
|
* Get up to the requested limit of tweets and replies authored by an X (Twitter) account, with engagement, views, language, and cursor pagination where available.
|
|
9175
9175
|
*
|
|
9176
|
-
* Price: $0.
|
|
9176
|
+
* Price: $0.00045 per request.
|
|
9177
9177
|
*
|
|
9178
9178
|
* @example
|
|
9179
9179
|
* const res = await client.twitter.userTweets({ handle: "levelsio", limit: 20 });
|
|
@@ -9255,7 +9255,7 @@ var VrboNamespace = class {
|
|
|
9255
9255
|
* Price: $0.00085 per request.
|
|
9256
9256
|
*
|
|
9257
9257
|
* @example
|
|
9258
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
9258
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-15", checkOut: "2026-12-18" });
|
|
9259
9259
|
*/
|
|
9260
9260
|
listing(input, options) {
|
|
9261
9261
|
return this._core.run("vrbo.listing", input, options);
|
|
@@ -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.search({ checkIn: "2026-12-
|
|
9271
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-15", checkOut: "2026-12-18", location: "Lake Tahoe", adults: 2 });
|
|
9272
9272
|
*/
|
|
9273
9273
|
search(input, options) {
|
|
9274
9274
|
return this._core.run("vrbo.search", input, options);
|