Hello. I used to use some script to show nicks of people as they are on Twitch, instead of lowercase nick.
alias twitchname {
if ($hget(nickformat) == $null) { hmake nickformat }
if ($hget(nickformat,$1)) { return $iif($hget(nickformat,$1) == $null,$1,$hget(nickformat,$1)) }
var %json https://api.twitch.tv/kraken/users/ $+ $1
JSONOpen -ud nicename %json
hadd nickformat $1 $json(nicename,display_name)
return $iif($hget(nickformat,$1) == $null,$1,$hget(nickformat,$1))
}
I don't remember if this was using some additional thing, but if it did, I had this, cause I didn't change anything past few years. I have all scripts I had back then.
The problem is, it doesn't work anymore. I tried to go to
https://api.twitch.tv/kraken/users/ page, but it seems "broken". At least doesn't show any user. No matter if I change users to user and what nick I wote, it just tells me either that not found or bad request. So there is a problem probably.
So what can I do to make the cript working again? Google doesn't say anything.
Thanks in advance.