@getanyapi/sdk 0.51.0 → 0.52.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 +30 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +141 -2
- package/dist/index.d.ts +141 -2
- package/dist/index.js +30 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3196,7 +3196,7 @@ var GoogleNamespace = class {
|
|
|
3196
3196
|
*
|
|
3197
3197
|
* 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 cheaper past roughly 20 results.
|
|
3198
3198
|
*
|
|
3199
|
-
* Price: $0.
|
|
3199
|
+
* Price: $0.0004 per request.
|
|
3200
3200
|
*
|
|
3201
3201
|
* @example
|
|
3202
3202
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -3928,6 +3928,35 @@ var InstagramNamespace = class {
|
|
|
3928
3928
|
options
|
|
3929
3929
|
);
|
|
3930
3930
|
}
|
|
3931
|
+
/**
|
|
3932
|
+
* Instagram Profile Search with Contact
|
|
3933
|
+
*
|
|
3934
|
+
* Search public Instagram profiles by a bio or caption keyword and get each account's country, the month it joined, and the public email and phone number it lists. Charged per profile that comes back with those details.
|
|
3935
|
+
*
|
|
3936
|
+
* Price: $0.0036 per request plus $0.0036 per result (maximum $0.09).
|
|
3937
|
+
*
|
|
3938
|
+
* @example
|
|
3939
|
+
* const res = await client.instagram.searchProfilesContact({ query: "skincare" });
|
|
3940
|
+
*/
|
|
3941
|
+
searchProfilesContact(input, options) {
|
|
3942
|
+
return this._core.run("instagram.search_profiles_contact", input, options);
|
|
3943
|
+
}
|
|
3944
|
+
/**
|
|
3945
|
+
* Iterate every result of Instagram Profile Search with Contact across pages.
|
|
3946
|
+
*
|
|
3947
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
3948
|
+
* result pages instead (each carries its own costUsd).
|
|
3949
|
+
*/
|
|
3950
|
+
iterSearchProfilesContact(input, options) {
|
|
3951
|
+
return paginate(
|
|
3952
|
+
this._core,
|
|
3953
|
+
"instagram.search_profiles_contact",
|
|
3954
|
+
input,
|
|
3955
|
+
"profiles",
|
|
3956
|
+
false,
|
|
3957
|
+
options
|
|
3958
|
+
);
|
|
3959
|
+
}
|
|
3931
3960
|
/**
|
|
3932
3961
|
* Instagram Similar Profiles
|
|
3933
3962
|
*
|