starcraft 2 unit api exposed via couchdb


a simple http api for accessing information about Starcraft 2 units. this information is seeded into CouchDB by web scraping the Starcraft 2 Game Guide.

$ npm install -g sc2-unit-api
## setting up the database
this tool will set up and seed the database.

$ sc2-unit-api-setup CouchDB hostname ( CouchDB port (5984) CouchDB database (units) Database does not exist. Creating now... Database created Scraping Finished scraping

## starting the server

$ sc2-unit-api-server Started HTTP server on port 8000...

## todo
- add nconf support for http server port, as well as couchdb information
- add documentation on using the api programatically as a library