HugoJF / csgo-server-api

[DONE] NodeJS CS:GO Server API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeJS CS:GO Server API

Very simple HTTP API for CS:GO servers with token authentication to avoid distributing RCON passwords between applications and having to update server lists.

Requirements

  • Node 10+ or Docker

Installation via Node

Please do not open issues if you have problems when installing directly with Node.

Install dependencies by running:

npm install

Transpile the source code with Babel:

npm run babel

Create servers.json file:

cp config/servers.json.example config/servers.json

Update servers.json with your information

Run (make sure you have Node version 10+)

npm run start

Installation via Docker

Build Docker image

npm run build

Create servers.json file:

cp config/servers.json.example config/servers.json

Update servers.json with your information

Run

npm run docker

Usage

API specification is provided as an OpenAPI spec on oas.yaml

About

[DONE] NodeJS CS:GO Server API

License:GNU General Public License v3.0


Languages

Language:JavaScript 95.4%Language:Dockerfile 4.6%