You are here

Sample Source Code: UptimeRobot API for Wordpress

Wordpress ( has been such a valuable tool when it comes to developing and designing beautiful client websites. While designing a custom Wordpress Dashboard for a client I realized that I would like to show-off to this particular client their Up and Downtime Statistics. What better way to accomplish that then to add it to the Dashboard. I foresee this Widget being much more powerful. The very first release will contain just basic code that you will add to your functions.php file. I based the original code around the example given by UptimeRobot ( on their API page ( and added some Wordpress Functionality and Events. As it is right now, I can say that there is a lot that needs to be done. There is a lot that I dislike about the code at this point; I don't like inline styles, I don't like the simplicity of the code for security purposes. I encourage all to help build this widget up so that not only can we display these statistics to our clients but for multiple uses on your Wordpress Blogs and Websites. All constructive collaboration and criticism is welcome.