starcraft 2 unit api exposed via couchdb

npm install sc2-unit-api
1 downloads in the last week
5 downloads in the last month


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... ```


  • add nconf support for http server port, as well as couchdb information
  • add documentation on using the api programatically as a library
npm loves you