diff --git a/src-tauri/src/api/streams.rs b/src-tauri/src/api/streams.rs
index 940fb578..cf4cee5b 100644
--- a/src-tauri/src/api/streams.rs
+++ b/src-tauri/src/api/streams.rs
@@ -1,6 +1,7 @@
use futures::TryStreamExt;
use tauri::State;
use tauri::async_runtime::Mutex;
+use twitch_api::helix::clips::{Clip, get_clips};
use twitch_api::helix::streams::{CreatedStreamMarker, Stream};
use super::get_access_token;
@@ -50,3 +51,17 @@ pub async fn create_marker(
Ok(marker)
}
+
+#[tauri::command]
+pub async fn get_clip(
+ state: State<'_, Mutex>,
+ id: String,
+) -> Result
+{#if linkNodes.some(canEmbed)}
+
+ {#each linkNodes as node}
+
+ {/each}
+
+{/if}
+