API Status
API status is a simple tool that checks if an API is online.

Install
npm install apistatus
Usage
var apistatus = require('apistatus')
apistatus('http://mockbin.org/get', function(status){
console.log(status)
})
apistatus('http://notarealdomain35252.org/', function(status){
console.log(status)
})
apistatus('http://mockbin.org/404', function(status){
console.log(status)
})
Wishlist
- Optional HAR object for the requests to use for full API coverage beyond simple GET requests
- Optional HAR object for the response to check against. Automated API testing essentially
- a website with logs of status changes and support for periodic checking of saved APIs
Contributing
Forks and pull requests are most welcomed. Please run npm test
before sending a pull request.
MIT license
Copyright (c) 2014, Mashape (https://www.mashape.com/)