Author Topic: custom raid command - show the game being played last  (Read 2366 times)

0 Members and 1 Guest are viewing this topic.

jds4578

  • Youngling
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
  • Twitch Name: jds4578
custom raid command - show the game being played last
« 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.


TheNumbLock

  • Advisor
  • Councilor
  • **
  • Posts: 4776
  • Karma: +137/-5
    • View Profile
  • Twitch Name: TheNumbLock
Re: custom raid command - show the game being played last
« Reply #1 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)
Old Name: RepentGamingTV
Twitch: Here

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

jds4578

  • Youngling
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
  • Twitch Name: jds4578
Re: custom raid command - show the game being played last
« Reply #2 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.

TheRealAlixe

  • Knight
  • ***
  • Posts: 106
  • Karma: +5/-2
    • View Profile
    • Ninetales.us
  • Twitch Name: TheRealAlixe
Re: custom raid command - show the game being played last
« Reply #3 on: November 05, 2016, 07:04:28 AM »
@customapi[http://api.ninetales.us/info/?user=jds4578&format=/game/] will work
Twitter: @TheRealAlixe | Web: Ninetales.us | Twitch: @TheRealAlixe | Discord: join