A command that displays music from TwichDJ into Twich chat

I find this API

Twitch-Dj API

Examples of using API for obtaining information about channels

Current track

GET: https://twitch-dj.ru/api/get_track/ [CHANNEL_ID]
GET: https://twitch-dj.ru/api/get_track/ [CHANNEL_ID] / callback / [CALLBACK_FUNCTION]

You can make it yourself using the eval variable. This is untested, but it might work:

$(eval const resp = $(urlfetch json https://twitch-dj.ru/api/get_track/$(channelid))); `${resp.title} - Requested by ${resp.author}`)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.