@idiomark/adapter-twitch
Twitch adapter for Idiomark extraction.
Features
- Streams: Live video broadcasts
- VODs: Video on demand content
- Clips: Highlighted moments from streams
- Chat: Real-time chat during streams
- Channels: Community channels
Authentication
Uses OAuth 2.0 with user access token.
Rate Limits
- Requests: 800 per minute
- Documentation: https://dev.twitch.tv/docs/api
Usage
import { TwitchAdapter } from '@idiomark/adapter-twitch'
const adapter = new TwitchAdapter({
accessToken: 'your_access_token'
})
await adapter.authenticate()
const result = await adapter.extractData({ limit: 100 })
Data Types
| Type | Description |
|---|---|
stream | Live video broadcasts |
vod | Video on demand |
clip | Highlighted moments |
chat | Real-time messages |
channel | Channel posts |
License
MIT