Compares bricklink prices to lego fabric "100g" prices.
- Install nodejs
- Get rebrickable api key
node .\index.js --apiKey=<rebrickableapikey> --itemId=<bricklinkpartid> --color=<rebrickablecolorname> --username=<rebrickableusername> --password=<rebrickablepassword>
Option | Description | Required |
---|---|---|
--apiKey |
Rebrickable api key | Yes |
--itemId |
Bricklink part id | No |
--color |
Rebrickable color name | No |
--username |
Rebrickable username | Yes, when using partlist mode |
--password |
Rebrickable password | Yes, when using partlist mode |
--bricklinkUsername |
Bricklink username | Yes, when using partlist mode |
--bricklinkPassword |
Bricklink password | Yes, when using partlist mode |
Run npm test
to execute the unit tests via Jest.
Run npm run lint
to lint the project using ESLint.
The project is licensed under the MIT License.