项目作者: Das-Uhrwerk

项目描述 :
📶 Serverstatus | Administration API
高级语言: JavaScript
项目地址: git://github.com/Das-Uhrwerk/Clockwork-API.git
创建时间: 2016-10-07T23:19:07Z
项目社区:https://github.com/Das-Uhrwerk/Clockwork-API

开源协议:MIT License

下载


Clockwork-API

📶 Serverstatus | Administration API

CircleCI

Install

  1. # Build
  2. git clone https://github.com/Das-Uhrwerk/Clockwork-API.git
  3. npm i
  4. # Run
  5. npm start
  6. # the production server will run it via pm2
  7. # Test
  8. curl localhost:3000/api/

Routes

Currently the API only supports reading via GET, more information on the planned layout will be following up.

Route Description
GET /server List configured servers
GET /server/all Query all serverdata
GET /server/:servername Query single serverdata by servername
GET /server/all Query all serverdata

Development stack

Recommandation:

If you are developing on Windows consider the use of babun 🔗 until WSL (bash on windows) is fully ready for productive usage.