<< Back to Programming Forum   Search

Posts 1 - 1 of 1   
Hub of active CLOTs: 12/22/2015 01:01:11


ps 
Level 60
Report
created this simple API call to get a list of active CLOT ladders and their currently joined player count, for Muli to use on his userscript thingie on a future update:

http://php-psenough.rhcloud.com/hub/list.php

it's open source:

https://github.com/psenough/wl_clot/blob/master/hub/list.php

motd's ladder seems to be too slow to get scrapped properly.

need to update code to handle multiple ladders on the dutch ladder system, too lazy to do that now.

would be cool if CLOT makers would start supporting some sort of /info API call to list out on json format basic information on their clot: name, official url, type (multiday, realtime), template ids, active players. If anyone ever does let me know to update this code to stop scrapping the html for it.

added all entries listed on the wiki:
https://www.warlight.net/wiki/List_of_active_CLOTs

any other active CLOT? let me know.

Edited 12/24/2015 00:50:47
Posts 1 - 1 of 1