Skip to content

Built for people who want to own their automations. Join the waitlist for an invite.

Package listing

@kody/twitch

src/list-followed-streams.ts

14 lines · 529 B · TypeScript
import { listFollowedStreams } from './client.ts'

/**
 * List live streams from channels the authenticated user follows.
 * Requires user:read:follows.
 *
 * @example
 * import listFollowedStreams from 'kody:@kody/twitch/list-followed-streams'
 * const result = await listFollowedStreams({ limit: 20 })
 * // => { userLogin: '...', streams: [{ isLive: true, title: '...' }], cursor: null }
 */
export default async function twitchListFollowedStreams(params: Record<string, unknown> = {}) {
	return listFollowedStreams(params)
}