Author Topic: Get game-details via API  (Read 1650 times)

0 Members and 1 Guest are viewing this topic.

Sasheem

  • Youngling
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Sasheem01
Get game-details via API
« 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.

TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: Get game-details via API
« Reply #1 on: February 15, 2016, 01:43:33 AM »
There is probably an api out there. Just need to find one.
Old Name: RepentGamingTV
Twitch: Here

Need help ASAP?
Join Deepbot's Discord: Discord.Deepbot.tv
Deepbot's Twitter: @DeepSupport

Dante557

  • Advisor
  • Councilor
  • **
  • Posts: 555
  • Karma: +26/-0
  • Sometimes Helpful, Sometimes Not :D
    • View Profile
    • My Twitch Page
  • Twitch Name: Dante557
Re: Get game-details via API
« Reply #2 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
If you need to get through to me you can try to contact me on Twitter @ http://www.twitter.com/dante556

Sasheem

  • Youngling
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
  • Twitch Name: Sasheem01
Re: Get game-details via API
« Reply #3 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.