Deep Bot - Twitch Streamer Assistant

Deep Bot => Help/Support => Topic started by: Sasheem on February 14, 2016, 05:49:01 PM

Title: Get game-details via API
Post by: Sasheem on February 14, 2016, 05:49:01 PM
Hi,

Is there a way to take the info from @game@ and drop it into an api through @customerjsonapi@ to get some details about the game or a steam-link or something?

Thanks in advance.
Title: Re: Get game-details via API
Post by: TheNumbLock on February 15, 2016, 01:43:33 AM
There is probably an api out there. Just need to find one.
Title: Re: Get game-details via API
Post by: Dante557 on February 15, 2016, 02:43:28 AM
https://api.rtainc.co/twitch/game?channel=CHANNEL with channel being your channel. Just use @customapi@ for it

Thanks,
Dante557
Title: Re: Get game-details via API
Post by: Sasheem on February 19, 2016, 10:26:56 PM
Hi,

thanks for the replies. But that API only give the name of the game. That can be gained through DeepBot directly.
What I would need is something like:

@customjsonapi@[https://some.api.url/@game@,summary]
Which would return a brief description for the game currently being played.