Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

sc2-unit-api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sc2-unit-api

starcraft 2 unit api exposed via couchdb

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

sc2-unit-api

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.

installation

$ 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 (http://127.0.0.1) CouchDB port (5984) CouchDB database (units) Database does not exist. Creating now... Database created Scraping http://us.battle.net/sc2/en/game/... 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

Keywords

stacraft

FAQs

Package last updated on 30 Dec 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts