For our basic example, we will check the status of MongoHQ servers. For showing statuses, MongoHQ uses the Stashboard web app, which you can access at http://status.mongohq.com.
The following screenshot (cropped) shows the status page of the MongoHQ servers:
The documentation for a Stashboard API can be found at https://stashboard.readthedocs.org/en/latest/restapi.html.
To keep going, first let's define our
StatusItem object, looking at a possible data we will need:
// StatusItem.h ...