W:ET twitch streams widget for CF/gamestv

there was idea for adding streams to crossfire sidebar so I made css+javascript script for this:
http://codepen.io/anon/pen/KwLKpx
you can see it in preview part of the screen in sidebar under news
it shows all twitch online streams which game is set to Wolfenstein: Enemy Territory using twitch api
calling url: https://api.twitch.tv/kraken/search/games?q=Wolfenstein:%20Enemy%20Territory&type=suggest&live=true
ET live streams in twitch: http://www.twitch.tv/directory/game/Wolfenstein:%20Enemy%20Territory
inspired by http://www.reddit.com/r/globaloffensive

would be nice if somebody would help with CSS design

its also possible to add streamers from Active streamers from CF journal

Edit: changed game to CS:GO for testing because there are no live streams of W:ET :D :(

if you want to help and share your edit click on fork and send link

would crossfire/gamestv admins add this?
I made it in css/javascript because its easy to add it into code of website
Comments
23
screenshot:
image: DvGvYqi
is there a rate limit on the Twitch API? maybe server side caching is needed. apart from that, looks good!
don't think so its needed, because I doubt its server side cached on reddit: http://www.reddit.com/r/globaloffensive
Parent
checked source code of subreddit and twitch links are already inside :O
Parent
Afaik, this is usually done with a bot
Parent
Does somebody stream W;ET? :D
But they stream other games (not ET)
Parent
lightning has been streaming all the tag pracs last 2 weeks
Parent
I stream but no internet or PC atm for it! :((
Parent
Amazing, maybe try to /q Artstar on IRC.


And now update the ETTV bot to get revives in! Haha
well done :)
Good work dude!

(wish i knew web-languages, i am jealous)
Nice, implement please!
nice effort, you should contact merlinator or artstar!
Good shit, was already planning on implementing something similar.
lol you can't code for shit bruv why u pretending
Parent
why is this not integrated yet. not that i would use it, but still. this is pretty good stuff.
nice work
Back to top