Skip to content

Magic the Gathering card database. Scrapes card data from Gatherer and stores it in CouchDB. It will gain a REST interface and possibly a deck builder/browser web interface in the near future.

soross/cardscience

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CardScience

Magic the Gathering card database. Scrapes card data from Gatherer and stores it in CouchDB. It will gain a REST interface and possibly a deck builder/browser web interface in the near future.

This has been a fun little project to try out some of the CouchDB abstraction logic I've been working on, to see just how effective I can be with Node and CouchDB for writing distributed data systems. Also, I get to try out Zombie.js.

There is more to come!

Usage

You'll need node and npm, and a local instance of CouchDB.

Install dependencies:

npm install

Install CouchDB design documents (right now, I assume a local CouchDB with a hardcoded database name of cardscience. Sorry.):

./cardscience.js -i

Run scrape job:

./cardscience.js

Bring up interactive REPL with CardScience data model available:

./cardscience.js -c

About

Magic the Gathering card database. Scrapes card data from Gatherer and stores it in CouchDB. It will gain a REST interface and possibly a deck builder/browser web interface in the near future.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published