Closed ghost closed 8 years ago
MagIRC uses the very same API, so it sounds unusual. Can you provide an example URL?
@h9k yeah.
http://www.allchatnetwork.net/stats/rest/service.php/channels/biggest/10?format=datatables shows empty data but the data is present in for example http://www.allchatnetwork.net/stats/channel/%23Chatroom/profile.
For some reason stuff like topics and modes were left out for the biggest chan output. However you can use http://www.allchatnetwork.net/stats/rest/service.php/channels for example
@h9k How do I get top 10 channels using that?
@ghost you could get the whole channel list, then sort by users descending, and take the first 10. However, I will make it so that the "biggest" call will return the data in the same manner as normal channels. Will commit to repo this weekend.
API returns lots of empty fields like modes, topic etc.
but MagIRC interface does not have empty fields, it shows modes, topic etc.
@h9k how to fix?