@getanyapi/sdk 0.180.3 → 0.180.4
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 +14 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.js +14 -14
- 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.0008 per request.
|
|
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-23", checkOut: "2026-12-25", limit: 3 });
|
|
1721
1721
|
*/
|
|
1722
1722
|
search(input, options) {
|
|
1723
1723
|
return this._core.run("booking.search", input, options);
|
|
@@ -2829,7 +2829,7 @@ var FacebookNamespace = class {
|
|
|
2829
2829
|
*
|
|
2830
2830
|
* List the Meta Ad Library ads a company is running by page ID or company name (creative text, format, platforms, and run dates) with cursor pagination.
|
|
2831
2831
|
*
|
|
2832
|
-
* Price: $0.
|
|
2832
|
+
* Price: $0.0011 per request.
|
|
2833
2833
|
*
|
|
2834
2834
|
* @example
|
|
2835
2835
|
* const res = await client.facebook.companyAds({ pageId: "15087023444", sortBy: "recent" });
|
|
@@ -3696,7 +3696,7 @@ var GoogleNamespace = class {
|
|
|
3696
3696
|
*
|
|
3697
3697
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
3698
3698
|
*
|
|
3699
|
-
* Price: $0.
|
|
3699
|
+
* Price: $0.0015 per request.
|
|
3700
3700
|
*
|
|
3701
3701
|
* @example
|
|
3702
3702
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -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-23", departureDateTo: "2027-01-21", 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-23", 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-23", checkOut: "2026-12-25", 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.0048 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-23", checkOut: "2026-12-25", 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);
|
|
@@ -4895,7 +4895,7 @@ var InstagramNamespace = class {
|
|
|
4895
4895
|
*
|
|
4896
4896
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
4897
4897
|
*
|
|
4898
|
-
* Price: $0.
|
|
4898
|
+
* Price: $0.00188 per request.
|
|
4899
4899
|
*
|
|
4900
4900
|
* @example
|
|
4901
4901
|
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
@@ -4950,7 +4950,7 @@ var InstagramNamespace = class {
|
|
|
4950
4950
|
*
|
|
4951
4951
|
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
|
|
4952
4952
|
*
|
|
4953
|
-
* Price: $0.
|
|
4953
|
+
* Price: $0.00067 per request.
|
|
4954
4954
|
*
|
|
4955
4955
|
* @example
|
|
4956
4956
|
* const res = await client.instagram.userPosts({ handle: "nasa" });
|
|
@@ -4979,7 +4979,7 @@ var InstagramNamespace = class {
|
|
|
4979
4979
|
*
|
|
4980
4980
|
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
4981
4981
|
*
|
|
4982
|
-
* Price: $0.
|
|
4982
|
+
* Price: $0.00067 per request.
|
|
4983
4983
|
*
|
|
4984
4984
|
* @example
|
|
4985
4985
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -5777,7 +5777,7 @@ var MapsNamespace = class {
|
|
|
5777
5777
|
*
|
|
5778
5778
|
* Search Google Maps for places matching a query and location: up to 20 normalized place records with ratings, addresses, and contact basics per request.
|
|
5779
5779
|
*
|
|
5780
|
-
* Price: $0.
|
|
5780
|
+
* Price: $0.00135 per request.
|
|
5781
5781
|
*
|
|
5782
5782
|
* @example
|
|
5783
5783
|
* const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3 });
|
|
@@ -6657,7 +6657,7 @@ var RedditNamespace = class {
|
|
|
6657
6657
|
*
|
|
6658
6658
|
* Fetch a subreddit's metadata (weekly active users, description, and category).
|
|
6659
6659
|
*
|
|
6660
|
-
* Price: $0.
|
|
6660
|
+
* Price: $0.00035 per request.
|
|
6661
6661
|
*
|
|
6662
6662
|
* @example
|
|
6663
6663
|
* const res = await client.reddit.subredditDetails({ subreddit: "programming" });
|
|
@@ -9328,7 +9328,7 @@ var VrboNamespace = class {
|
|
|
9328
9328
|
* Price: $0.00085 per request.
|
|
9329
9329
|
*
|
|
9330
9330
|
* @example
|
|
9331
|
-
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-
|
|
9331
|
+
* const res = await client.vrbo.listing({ propertyId: "69764328", adults: 2, checkIn: "2026-12-23", checkOut: "2026-12-26" });
|
|
9332
9332
|
*/
|
|
9333
9333
|
listing(input, options) {
|
|
9334
9334
|
return this._core.run("vrbo.listing", input, options);
|
|
@@ -9341,7 +9341,7 @@ var VrboNamespace = class {
|
|
|
9341
9341
|
* Price: $0.00085 per request.
|
|
9342
9342
|
*
|
|
9343
9343
|
* @example
|
|
9344
|
-
* const res = await client.vrbo.search({ checkIn: "2026-12-
|
|
9344
|
+
* const res = await client.vrbo.search({ checkIn: "2026-12-23", checkOut: "2026-12-26", location: "Lake Tahoe", adults: 2 });
|
|
9345
9345
|
*/
|
|
9346
9346
|
search(input, options) {
|
|
9347
9347
|
return this._core.run("vrbo.search", input, options);
|