|
1 year ago | |
---|---|---|
cmd | 1 year ago | |
lib | 1 year ago | |
templates | 1 year ago | |
.gitignore | 1 year ago | |
README.md | 1 year ago | |
package.json | 1 year ago | |
products.csv | 1 year ago | |
yarn-error.log | 1 year ago | |
yarn.lock | 1 year ago |
Just run yarn
Go to https://www.cardmarket.com/en/Magic/Account/API and create a Dedicated app.
Put the keys in your environment like so:
export APP_TOKEN=<App token>
export APP_SECRET=<App secret>
export ACCESS_TOKEN=<Access token>
export ACCESS_SECRET=<Access token secret>
To use the rare finder, you'll need to build the rare db
yarn build-db
It will create a file called mcmCards.json
yarn fetch <userid>
yarn find <userid>
User ID can be either a username or user id on cardmarket
WIP, will be yarn cube <userid>