Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  


Pages: [1]   Go Down

Author Topic: Serverstatus-Icon incorporate into new page  (Read 6687 times)

0 Members and 1 Guest are viewing this topic.


  • Anope User
  • Offline Offline
  • Posts: 11
Serverstatus-Icon incorporate into new page
« on: December 12, 2013, 09:04:14 PM »


there is a possibility, to get the Status from the Server on a other site?
I have build a serverlist on a other site and i want to take the status of the servers from the MagIRC-serverlist

Is there a walkthrough?



  • Team
  • *
  • Offline Offline
  • Posts: 103
Re: Serverstatus-Icon incorporate into new page
« Reply #1 on: December 14, 2013, 11:44:59 AM »

Hi Matze, yes you can.
You can use the REST service, for MagIRC 0.8.x it's rest/denora.php, for MagIRC 0.9.x it's rest/service.php
Unfortunately there is no comprehensive documentation yet, but the file itself provides some inline documentation with example calls.
So what you need is to use the /servers (to get all servers) or /server/<servername> (to get the specified server). A good way would be to make an AJAX call.
As a response you will get a JSON object which you can easily use in JavaScript or other means.
So for example you can do
Pages: [1]   Go Up