How to retrieve Overwatch stats through Nightbot


#65

Hello! I really love this API, thank you for it. I was curious about if I was able to change the highlight color or not, though? When using Twitch’s nightmode, the White-on-black (when it calls back to whichever user made the command), is a little harsh on the eyes.

Is there any way to allow for custom coloring?


#66

Nightbot/customapi’s have no control over twitch’s coloring. That’s on twitch’s end.


#67

Thank you for the speedy reply! Appreciate it.


#68

Hello,
Would love to know if some of the new heroes work with this command?
For example Sombra or Orisa
If they do not, would you let me know when they will be added?

thanks,
PT


#69

@PURPLETRON Both champions should work, just put the champion name in front of the stat you would want to check, forexample: sombrakd, orisagames.


#73

Hi there, is there a way to make this work with with streamlabs? I see the ankhbot command generator but it doesn’t seem to be working with the new streamlabs. Anyways, great project! it would be awesome for a channel I mod on twitch <3


#74

Heya since this is the Nightbot forums, would you mind contacting me on Twitter (@gerhardoh).


#75

If I were to only want this to show one specific command (skill rating to be specific), how would I edit the link?


#76

You replace the $(querystring) with the stat you want to show, do you want a command for a specific user, or just a command that people can check their skillrating?

Command for one specific user:
!commands add !skillrating -cd=5 -ul=everyone $(urlfetch https://2g.be/twitch/Overwatch/command/query=skillrating xgerhard xbox)
Usage: !skillrating
Nightbot: Skillrating is…

Command for people to check their skillrating:
!commands add !skillrating -cd=5 -ul=everyone $(urlfetch https://2g.be/twitch/Overwatch/command/query=skillrating%20$(querystring)&defaultconsole=xbox)
Usage: !skillrating xgerhard xbox
Nightbot Xgerhard’s skillrating is…