PHP to check Netwatch Status using API

Hi,

Can anyone help with PHP code to check Netwatch Status using API.

I have added some Server IP Address in Netwatch to monitor which i want to check using PHP in Browser.

Thanks..