@getanyapi/sdk 0.90.7 → 0.90.9

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.d.cts CHANGED
@@ -17533,7 +17533,7 @@ declare class FacebookNamespace {
17533
17533
  *
17534
17534
  * Search the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination.
17535
17535
  *
17536
- * Price: $0.0012 per request.
17536
+ * Price: $0.001 per request.
17537
17537
  *
17538
17538
  * @example
17539
17539
  * const res = await client.facebook.adsSearch({ query: "nike", country: "US", searchType: "keyword_exact_phrase" });
@@ -17569,10 +17569,10 @@ declare class FacebookNamespace {
17569
17569
  *
17570
17570
  * 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.
17571
17571
  *
17572
- * Price: $0.0012 per request.
17572
+ * Price: $0.001 per request.
17573
17573
  *
17574
17574
  * @example
17575
- * const res = await client.facebook.companyAds({ companyName: "nike", sortBy: "recent" });
17575
+ * const res = await client.facebook.companyAds({ pageId: "15087023444", sortBy: "recent" });
17576
17576
  */
17577
17577
  companyAds(input: FacebookCompanyAdsInput, options?: RequestOptions): Promise<RunResult<FacebookCompanyAdsData>>;
17578
17578
  /**
@@ -20983,7 +20983,7 @@ declare class GoogleAdsNamespace {
20983
20983
  *
20984
20984
  * List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.
20985
20985
  *
20986
- * Price: $0.0012 per request.
20986
+ * Price: $0.001 per request.
20987
20987
  *
20988
20988
  * @example
20989
20989
  * const res = await client.googleAds.companyAds({ domain: "lululemon.com" });
@@ -56286,7 +56286,7 @@ declare class TiktokNamespace {
56286
56286
  *
56287
56287
  * Fetch the caption track TikTok itself published for a video, as TikTok wrote it. It is the cheapest way to get the words, and it is only as good as TikTok's own transcription: it mishears names and uncommon words, and many videos - especially non-English ones - have no caption track at all, which comes back as not found. When you need the words to be right, or there is no track to read, tiktok.video_transcript_full transcribes the audio with AnyAPI's own speech-to-text instead.
56288
56288
  *
56289
- * Price: $0.0012 per request.
56289
+ * Price: $0.001 per request.
56290
56290
  *
56291
56291
  * @example
56292
56292
  * const res = await client.tiktok.videoTranscript({ url: "https://www.tiktok.com/@washingtonpost/video/7609177768793787679" });
package/dist/index.d.ts CHANGED
@@ -17533,7 +17533,7 @@ declare class FacebookNamespace {
17533
17533
  *
17534
17534
  * Search the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination.
17535
17535
  *
17536
- * Price: $0.0012 per request.
17536
+ * Price: $0.001 per request.
17537
17537
  *
17538
17538
  * @example
17539
17539
  * const res = await client.facebook.adsSearch({ query: "nike", country: "US", searchType: "keyword_exact_phrase" });
@@ -17569,10 +17569,10 @@ declare class FacebookNamespace {
17569
17569
  *
17570
17570
  * 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.
17571
17571
  *
17572
- * Price: $0.0012 per request.
17572
+ * Price: $0.001 per request.
17573
17573
  *
17574
17574
  * @example
17575
- * const res = await client.facebook.companyAds({ companyName: "nike", sortBy: "recent" });
17575
+ * const res = await client.facebook.companyAds({ pageId: "15087023444", sortBy: "recent" });
17576
17576
  */
17577
17577
  companyAds(input: FacebookCompanyAdsInput, options?: RequestOptions): Promise<RunResult<FacebookCompanyAdsData>>;
17578
17578
  /**
@@ -20983,7 +20983,7 @@ declare class GoogleAdsNamespace {
20983
20983
  *
20984
20984
  * List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.
20985
20985
  *
20986
- * Price: $0.0012 per request.
20986
+ * Price: $0.001 per request.
20987
20987
  *
20988
20988
  * @example
20989
20989
  * const res = await client.googleAds.companyAds({ domain: "lululemon.com" });
@@ -56286,7 +56286,7 @@ declare class TiktokNamespace {
56286
56286
  *
56287
56287
  * Fetch the caption track TikTok itself published for a video, as TikTok wrote it. It is the cheapest way to get the words, and it is only as good as TikTok's own transcription: it mishears names and uncommon words, and many videos - especially non-English ones - have no caption track at all, which comes back as not found. When you need the words to be right, or there is no track to read, tiktok.video_transcript_full transcribes the audio with AnyAPI's own speech-to-text instead.
56288
56288
  *
56289
- * Price: $0.0012 per request.
56289
+ * Price: $0.001 per request.
56290
56290
  *
56291
56291
  * @example
56292
56292
  * const res = await client.tiktok.videoTranscript({ url: "https://www.tiktok.com/@washingtonpost/video/7609177768793787679" });
package/dist/index.js CHANGED
@@ -2224,7 +2224,7 @@ var FacebookNamespace = class {
2224
2224
  *
2225
2225
  * Search the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination.
2226
2226
  *
2227
- * Price: $0.0012 per request.
2227
+ * Price: $0.001 per request.
2228
2228
  *
2229
2229
  * @example
2230
2230
  * const res = await client.facebook.adsSearch({ query: "nike", country: "US", searchType: "keyword_exact_phrase" });
@@ -2282,10 +2282,10 @@ var FacebookNamespace = class {
2282
2282
  *
2283
2283
  * 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.
2284
2284
  *
2285
- * Price: $0.0012 per request.
2285
+ * Price: $0.001 per request.
2286
2286
  *
2287
2287
  * @example
2288
- * const res = await client.facebook.companyAds({ companyName: "nike", sortBy: "recent" });
2288
+ * const res = await client.facebook.companyAds({ pageId: "15087023444", sortBy: "recent" });
2289
2289
  */
2290
2290
  companyAds(input, options) {
2291
2291
  return this._core.run("facebook.company_ads", input, options);
@@ -3248,7 +3248,7 @@ var GoogleAdsNamespace = class {
3248
3248
  *
3249
3249
  * List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.
3250
3250
  *
3251
- * Price: $0.0012 per request.
3251
+ * Price: $0.001 per request.
3252
3252
  *
3253
3253
  * @example
3254
3254
  * const res = await client.googleAds.companyAds({ domain: "lululemon.com" });
@@ -7102,7 +7102,7 @@ var TiktokNamespace = class {
7102
7102
  *
7103
7103
  * Fetch the caption track TikTok itself published for a video, as TikTok wrote it. It is the cheapest way to get the words, and it is only as good as TikTok's own transcription: it mishears names and uncommon words, and many videos - especially non-English ones - have no caption track at all, which comes back as not found. When you need the words to be right, or there is no track to read, tiktok.video_transcript_full transcribes the audio with AnyAPI's own speech-to-text instead.
7104
7104
  *
7105
- * Price: $0.0012 per request.
7105
+ * Price: $0.001 per request.
7106
7106
  *
7107
7107
  * @example
7108
7108
  * const res = await client.tiktok.videoTranscript({ url: "https://www.tiktok.com/@washingtonpost/video/7609177768793787679" });