@getanyapi/sdk 0.148.8 → 0.149.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 +14 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +144 -2
- package/dist/index.d.ts +144 -2
- package/dist/index.js +14 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3789,7 +3789,7 @@ var GoogleNamespace = class {
|
|
|
3789
3789
|
*
|
|
3790
3790
|
* Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is normally cheaper past roughly 20 results.
|
|
3791
3791
|
*
|
|
3792
|
-
* Price: $0.
|
|
3792
|
+
* Price: $0.0004 per request.
|
|
3793
3793
|
*
|
|
3794
3794
|
* @example
|
|
3795
3795
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -6045,6 +6045,19 @@ var PinterestNamespace = class {
|
|
|
6045
6045
|
this._core = _core;
|
|
6046
6046
|
}
|
|
6047
6047
|
_core;
|
|
6048
|
+
/**
|
|
6049
|
+
* Pinterest Pin
|
|
6050
|
+
*
|
|
6051
|
+
* Fetch one public Pinterest pin by URL or numeric pin id: title, description, image, video, outbound link and site, save count, hashtags, the pinner with their follower count, and the board it was saved to, as normalized JSON. A pin that does not exist is not charged.
|
|
6052
|
+
*
|
|
6053
|
+
* Price: $0.00085 per request.
|
|
6054
|
+
*
|
|
6055
|
+
* @example
|
|
6056
|
+
* const res = await client.pinterest.pin({ url: "https://www.pinterest.com/pin/101049585382283341/" });
|
|
6057
|
+
*/
|
|
6058
|
+
pin(input, options) {
|
|
6059
|
+
return this._core.run("pinterest.pin", input, options);
|
|
6060
|
+
}
|
|
6048
6061
|
/**
|
|
6049
6062
|
* Pinterest Search
|
|
6050
6063
|
*
|