Returns squad members on Anrop for Arma games.
Code is written in Go and uses Go modules for dependency management.
Use go build
to download all dependencies and compile the sources.
Start the API with the Anrop-Squad
binary.
Server will be available at $PORT
.
Environment variables can be specified in .env
file and will be autoloaded.
Key | Required | Description |
---|---|---|
DATABASE_URL | Yes | MySQL url to your Anrop database |
PORT | No | Port that HTTP Server is bound to. 8080 by default |
Returns Arma 1 squad members as JSON
Returns Arma 2 squad members as JSON
Returns Arma 3 squad members as JSON
Returns OFP squad members as JSON