API Checker
Checks any API status and shows in Sublime Text Editor status bar
Details
Installs
- Total 3K
- Win 2K
- Mac 469
- Linux 353
| Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | Feb 5 | Feb 4 | Feb 3 | Feb 2 | Feb 1 | Jan 31 | Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
API Checker plugin for Sublime Text
A plugin to check if an API or a site is up and running. You can make HTTP calls similar as in SublimeHttpRequester
Inspiration came from sublimetext-LondonUnderground :)
Example configuration: (api-checker.sublime-settings)
{
"debug": true,
"timeout": 30,
"up_label": "✓",
"dn_label": "✕",
"detailed_error": true,
"urls": [
{
"title": "google",
"request_type": "GET",
"request_body": [
],
"url": "http://google.com",
},
{
"title": "non-existent",
"request_type": "POST",
"request_body": [
"Access-Control-Request-Headers: accept",
"Access-Control-Allow-Origin: *",
"Content-type: application/x-www-form-urlencoded",
"POST_BODY:",
"api_key=test_key&getuser=john"
],
"url": "http://some.non-existent.url",
}
]
}
Avaliable options
debug
Show/hide debug messages. Prints out all request and response messages to console.
timeout
How often to make request to URLs (in seconds)
up_label
Label to show if the API/site is up and running
dn_label
Label to show if the API/site is down
detailed_error
Show/hide HTTP error code if site is down (eg.: My API✕ (500))
urls
Dictionary of APIs/sites to check
title
Title to show in status bar
request_type
HTTP request type: POST/GET/PUT/DELETE
request_body
Request headers, POST_BODY.
See SublimeHttpRequester for more information
url
URL to request
License
The MIT License (MIT)
Copyright © 2014 ksgy