Problems registering at AoCZone?
You can try resending activation email. If that doesnt work you can send an email here. If you forgot your password click here.
 Main Menu

 ForumsSearch »

 SY Nations Cup 2017

 Escape Gaming

 EGC #1: Strike the Balance

 Gladiators of the Arena

 AoC Recorded Games

 AoE2HD Recorded Games

 AoFE Recorded Games

 Major Past Tournaments

 Auto downloadedFind »

 Users currently online
Staff (1)
»  robo
Members (32)
»  FiRe5
»  mrn
»  obi11
Guests (103)

 AoC Clans Add yours »

 Links

 Ads

DouyuTV Stream Online Status

Suggestions for AoCZone website
Advertisement from Google 
 

DouyuTV Stream Online Status

Postby  bloodorange » Wed Dec 23, 2015 2:33 am

So a quick google for douyu's api I've got this:
http://www.douyutv.com/api/client/room/iamtim

The parameter "show_status":"2" shows that the stream is currently offline. I've done the same for an online stream and "show_status":"1" means the stream is online.

Hopefully this would be helpful for the list of online streams on the aoczone homepage.
 bloodorange
 
Posts: 40
Joined: Oct 08, 2015
 
 

Re: DouyuTV Stream Online Status

Postby  _JoHnNy_ » Wed Dec 23, 2015 3:28 am

Very nice!:)
 _JoHnNy_
 
Posts: 638
Joined: Nov 07, 2011
 

Re: DouyuTV Stream Online Status

Postby  SMB360 » Wed Dec 23, 2015 3:30 am

AoCZone's status thing only works with Twitch afaik.
Image
Image
Image
 SMB360
 
Posts: 1818
Joined: Dec 08, 2013
 1693 (52%)
 

Re: DouyuTV Stream Online Status

Postby  robo » Wed Dec 23, 2015 4:10 am

At the moment we only have the option to add twitch channels. Pkz would need to add an adding or something to allow other streaming services Apis to be used.
G'day
User avatar
 robo
Moderator
 
Posts: 3769
Joined: Dec 12, 2011
Location: Australia
Age: 21
 1706 (51%)
 

Re: DouyuTV Stream Online Status

Postby  bloodorange » Wed Dec 23, 2015 7:23 am

I do believe it's less than 5 lines of code, Pkz should be able to do it.
 bloodorange
 
Posts: 40
Joined: Oct 08, 2015
 
Advertisement from Google 
 

Re: DouyuTV Stream Online Status

Postby  Man_ate_thee » Wed Dec 23, 2015 5:27 pm

Would be cool!
User avatar
 Man_ate_thee
 
Posts: 352
Joined: Feb 02, 2014
 

Re: DouyuTV Stream Online Status

Postby  SaladEsc » Wed Dec 23, 2015 5:32 pm

pls lord pkz
User avatar
 SaladEsc
 
Posts: 1727
Joined: Sep 30, 2013
Location: Denmark
 

Re: DouyuTV Stream Online Status

Postby  i_no_english » Wed Dec 23, 2015 6:06 pm

i need tim stream in my life
 i_no_english
 
Posts: 753
Joined: Sep 16, 2012
 
 

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest

Legend: Global moderators, News posters, Tournament moderators