Deep Bot - Twitch Streamer Assistant

Deep Bot => Help/Support => Topic started by: jds4578 on October 29, 2016, 03:02:45 AM

Title: custom raid command - show the game being played last
Post by: jds4578 on October 29, 2016, 03:02:45 AM
i made a custom raid command, and was given this command to use to show the last game that a streamer played:

@customjsonapi@[https://api.twitch.tv/kraken/channels/@target@[1],game]

this command worked for a while, but since twitch has change things, this command no longer works, as it now gives an API error.

what other command can i use to do this ? showing the accurate & correct game last played.

Title: Re: custom raid command - show the game being played last
Post by: TheNumbLock on October 29, 2016, 03:16:26 AM
You just need to make a Client ID so you can add it to the URL. Link to Guide: https://blog.twitch.tv/client-id-required-for-kraken-api-calls-afbb8e95f843#.85kylcy7t

Example of the URL: @customjsonapi@[https://api.twitch.tv/kraken/channels/@target@[1]?client_id=INSERTCLIENTIDHERE,game]

But you can use this: Stream Game: http://customapi.deepbot.tv/streamgame/expertsonline (Replace expertsonline with your stream name)
Title: Re: custom raid command - show the game being played last
Post by: jds4578 on November 05, 2016, 06:16:50 AM
how would i enter the the stream game url into it ? give me an example that works, as I have tried it, it still gives out an api error.
Title: Re: custom raid command - show the game being played last
Post by: TheRealAlixe on November 05, 2016, 07:04:28 AM
@customapi[http://api.ninetales.us/info/?user=jds4578&format=/game/] will work