Conversation
supportHey Guys, I am a WordPress developer, and I and my team are currently on working to create a standard API class for anyone that wants to use the UpTime Robot API. I would love for you to check it out, maybe you can use it within your project? Check it out here: https://github.com/wp-api-libraries/wp-uptime-robot-api
Hi Brandon, While the idea isn’t bad of course the plugin already has it’s own functions and requests to the very simple Uptime Robot API. Besides that I noticed that you are working with the old API, these results are less accurate. Please checkout their new API ( http://uptimerobot.com/apiv2 ), that’s the one I’m using for the plugin as well. Regards, Niels
Hi, Thanks for getting back to me quickly. We were not aware of the v2 version of the API, but will be sure to check it out, and write an updated class to support it. The code we have now was something we have been using in production for a bit already. The issue we came across is trying to support multiple third-party APIs in WordPress, and keep up with issues like this, new versions, and API changes. That’s why we started the WP-API-Libraries Project, with the goal to have the WordPress Community help manage, maintain standardized libraries for third-party APIs.
Hi Brandon, I understand the idea behind your project and of course it is a good idea. I just think that most developers won’t use multiple API’s so they won’t really benefit from it. Working through your classes would make developers depend on updates from your side. It will save time compared to doing it yourself of course, but since JSON is a quite easy format to work with it usually isn’t that much work. If there is anything I can help you with, you are always welcome to contact me! Regards, Niels
Hi Brandon, While the idea isn’t bad of course the plugin already has it’s own functions and requests to the very simple Uptime Robot API. Besides that I noticed that you are working with the old API, these results are less accurate. Please checkout their new API ( http://uptimerobot.com/apiv2 ), that’s the one I’m using for the plugin as well. Regards, Niels
Hi, Thanks for getting back to me quickly. We were not aware of the v2 version of the API, but will be sure to check it out, and write an updated class to support it. The code we have now was something we have been using in production for a bit already. The issue we came across is trying to support multiple third-party APIs in WordPress, and keep up with issues like this, new versions, and API changes. That’s why we started the WP-API-Libraries Project, with the goal to have the WordPress Community help manage, maintain standardized libraries for third-party APIs.
Hi Brandon, I understand the idea behind your project and of course it is a good idea. I just think that most developers won’t use multiple API’s so they won’t really benefit from it. Working through your classes would make developers depend on updates from your side. It will save time compared to doing it yourself of course, but since JSON is a quite easy format to work with it usually isn’t that much work. If there is anything I can help you with, you are always welcome to contact me! Regards, Niels