export BASE_URL="http://localhost:3011"
curl --get "$BASE_URL/v1/kick/clip" \
-H "x-api-key: $KICK_API_KEY" \
--data-urlencode "url=https://kick.com/example/clips/clip_01JGJHB6CEVFCQRYTVPM8DW892"
const baseUrl = "http://localhost:3011";
const url = new URL('/v1/kick/clip', baseUrl);
url.searchParams.set("url", "https://kick.com/example/clips/clip_01JGJHB6CEVFCQRYTVPM8DW892");
const response = await fetch(url, {
method: 'GET',
headers: {
'x-api-key': process.env.KICK_API_KEY
}
});
const data = await response.json();
console.log(data);
GET/v1/kick/clipJSON response
Examples target local workers. Use the origin and credentials supplied for your service.