Skip to content

Server for the HeroStats.io API - serves Dota 2 hero attribute data in a simple JSON format

Notifications You must be signed in to change notification settings

JankGaming/herostats-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
}

About

Server for the HeroStats.io API - serves Dota 2 hero attribute data in a simple JSON format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published