Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 794 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 794 Bytes

HeroStats API

Build Status

This repository holds the app that serves herostats data at http://api.herostats.io

We will be updating this repository in the coming months with v2 of the HeroStats API. Version 1 will remain fully functional, and v2 will be namespaced, no worries.

config.json

To configure HeroStats API, add a config.json to the root directory with the following structure:

{
  "host": "HOSTNAME [probably localhost]",
  "mysqlUser": "YOUR_MYSQL_USERNAME",
  "mysqlPassword": "YOUR_MYSQL_PASSWORD",
  "mysqlDatabase": "DATABASE_NAME",
  "mysqlTable": "DEFAULT_TABLE",
  "patchName": "DEFAULT_PATCHNAME",
  "port": PORT_TO_RUN_ON
}