mIRC Homepage
Posted By: Majeye Custom API (Twitch bot) commands - 24/07/14 10:56 AM
Would it be possible to turn these into actual commands for a Twitch bot? (I'm sure it is, I just don't know how to incorporate an API into commands)

http://www.reddit.com/r/dawngate/comments/1vtbu1/mobachampion_nightbot_api_for_streamers/
Posted By: Nillen Re: Custom API (Twitch bot) commands - 24/07/14 02:42 PM
Looks like you got your answer 6 months ago.
Quote:
You just need to load the end point and specify a shaper, item, spell, etc.
i.e.
http://moba-champion.com/api/NightBot/shaper.php?shaper=Raina
Returns:
Raina The Archivist (Melee Tank) http://moba-champion.com/shapers/raina

which means if you want to get to the Shaper known as Raina you'd use http://moba-champion.com/api/NightBot/shaper.php?shaper= $+ $2 (assuming you'd use !shaper Raina) to pull info from. Read up on sockets or look around in other threads, seen tons of socket threads recently.
Posted By: Majeye Re: Custom API (Twitch bot) commands - 24/07/14 03:44 PM
Originally Posted By: Nillen
Looks like you got your answer 6 months ago.
Quote:
You just need to load the end point and specify a shaper, item, spell, etc.
i.e.
http://moba-champion.com/api/NightBot/shaper.php?shaper=Raina
Returns:
Raina The Archivist (Melee Tank) http://moba-champion.com/shapers/raina

which means if you want to get to the Shaper known as Raina you'd use http://moba-champion.com/api/NightBot/shaper.php?shaper= $+ $2 (assuming you'd use !shaper Raina) to pull info from. Read up on sockets or look around in other threads, seen tons of socket threads recently.


Meh I didn't understand that previous answer.. I'm completely new to mIRC/sockets.. I've been learning.. but its been a slow process.
© mIRC Discussion Forums