@getanyapi/sdk 0.44.0 → 0.45.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 +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -22
- package/dist/index.d.ts +32 -22
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3656,7 +3656,7 @@ var InstagramNamespace = class {
|
|
|
3656
3656
|
/**
|
|
3657
3657
|
* Instagram Post
|
|
3658
3658
|
*
|
|
3659
|
-
* Fetch a single Instagram post or reel by URL (media URLs, like count, owner, type) as normalized JSON.
|
|
3659
|
+
* 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.
|
|
3660
3660
|
*
|
|
3661
3661
|
* Price: $0.0005 per request.
|
|
3662
3662
|
*
|
|
@@ -3737,12 +3737,12 @@ var InstagramNamespace = class {
|
|
|
3737
3737
|
/**
|
|
3738
3738
|
* Instagram Reel Transcript
|
|
3739
3739
|
*
|
|
3740
|
-
*
|
|
3740
|
+
* 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.
|
|
3741
3741
|
*
|
|
3742
|
-
* Price: $0.
|
|
3742
|
+
* Price: $0.0015 per request plus $0.006 per audio minute (maximum $0.095).
|
|
3743
3743
|
*
|
|
3744
3744
|
* @example
|
|
3745
|
-
* const res = await client.instagram.reelTranscript({ url: "https://www.instagram.com/reel/CfY6jCIgH-P/",
|
|
3745
|
+
* const res = await client.instagram.reelTranscript({ url: "https://www.instagram.com/reel/CfY6jCIgH-P/", hostVideo: true, wordTimestamps: false });
|
|
3746
3746
|
*/
|
|
3747
3747
|
reelTranscript(input, options) {
|
|
3748
3748
|
return this._core.run("instagram.reel_transcript", input, options);
|
|
@@ -7359,7 +7359,7 @@ var YoutubeNamespace = class {
|
|
|
7359
7359
|
*
|
|
7360
7360
|
* Fetch a YouTube channel's stats (subscribers, video count, total views, description) by handle or channel ID.
|
|
7361
7361
|
*
|
|
7362
|
-
* Price: $0.
|
|
7362
|
+
* Price: $0.0005 per request.
|
|
7363
7363
|
*
|
|
7364
7364
|
* @example
|
|
7365
7365
|
* const res = await client.youtube.channel({ handle: "@mkbhd" });
|