@getanyapi/sdk 0.43.0 → 0.45.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 +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +128 -55
- package/dist/index.d.ts +128 -55
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3541,9 +3541,9 @@ var InstagramNamespace = class {
|
|
|
3541
3541
|
/**
|
|
3542
3542
|
* Instagram Post
|
|
3543
3543
|
*
|
|
3544
|
-
* Fetch a single Instagram post or reel by URL (media URLs, like count, owner, type) as normalized JSON.
|
|
3544
|
+
* 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.
|
|
3545
3545
|
*
|
|
3546
|
-
* Price: $0.
|
|
3546
|
+
* Price: $0.0005 per request.
|
|
3547
3547
|
*
|
|
3548
3548
|
* @example
|
|
3549
3549
|
* const res = await client.instagram.post({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -3598,7 +3598,7 @@ var InstagramNamespace = class {
|
|
|
3598
3598
|
*
|
|
3599
3599
|
* Fetch an Instagram account's public profile (followers, posts, bio, verification) by handle.
|
|
3600
3600
|
*
|
|
3601
|
-
* Price: $0.
|
|
3601
|
+
* Price: $0.0012 per request.
|
|
3602
3602
|
*
|
|
3603
3603
|
* @example
|
|
3604
3604
|
* const res = await client.instagram.profile({ handle: "nasa" });
|
|
@@ -3622,12 +3622,12 @@ var InstagramNamespace = class {
|
|
|
3622
3622
|
/**
|
|
3623
3623
|
* Instagram Reel Transcript
|
|
3624
3624
|
*
|
|
3625
|
-
*
|
|
3625
|
+
* Transcribe any public Instagram reel or video post: the full speech transcript, speaker labels, and word-level timestamps, from a reel URL or an Instagram CDN media URL you already hold. Transcription runs on MAI-Transcribe-2, chosen for its accuracy and its speaker labels. Turn on hostVideo to also get the MP4 on a hosted link that plays without an Instagram session. If you only want the text, instagram.media_transcript is the cheaper transcript-only option; if you only want the file, instagram.post is where you go.
|
|
3626
3626
|
*
|
|
3627
|
-
* Price: $0.
|
|
3627
|
+
* Price: $0.0015 per request plus $0.006 per audio minute (maximum $0.095).
|
|
3628
3628
|
*
|
|
3629
3629
|
* @example
|
|
3630
|
-
* const res = await client.instagram.reelTranscript({ url: "https://www.instagram.com/reel/
|
|
3630
|
+
* const res = await client.instagram.reelTranscript({ url: "https://www.instagram.com/reel/CfY6jCIgH-P/", hostVideo: true, wordTimestamps: false });
|
|
3631
3631
|
*/
|
|
3632
3632
|
reelTranscript(input, options) {
|
|
3633
3633
|
return this._core.run("instagram.reel_transcript", input, options);
|
|
@@ -7244,7 +7244,7 @@ var YoutubeNamespace = class {
|
|
|
7244
7244
|
*
|
|
7245
7245
|
* Fetch a YouTube channel's stats (subscribers, video count, total views, description) by handle or channel ID.
|
|
7246
7246
|
*
|
|
7247
|
-
* Price: $0.
|
|
7247
|
+
* Price: $0.0005 per request.
|
|
7248
7248
|
*
|
|
7249
7249
|
* @example
|
|
7250
7250
|
* const res = await client.youtube.channel({ handle: "@mkbhd" });
|