Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lannonbr/pkmn-tcg-price-checker
A nodejs script to fetch pricing data for Pokemon Trading Card Game cards
https://github.com/lannonbr/pkmn-tcg-price-checker
pokemon-tcg
Last synced: 30 days ago
JSON representation
A nodejs script to fetch pricing data for Pokemon Trading Card Game cards
- Host: GitHub
- URL: https://github.com/lannonbr/pkmn-tcg-price-checker
- Owner: lannonbr
- License: mit
- Created: 2023-09-23T16:45:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-27T21:40:56.000Z (about 1 year ago)
- Last Synced: 2024-04-24T05:15:28.894Z (8 months ago)
- Topics: pokemon-tcg
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# Pokemon TCG Price Checker
a nodejs script that hits https://pokemontcg.io/ and indirectly TCGPlayer to fetch pricing data. This can be useful for trying to complete master sets of a particular set.
You will need to grab an API token from the site and then save it as an environment variable named `POKEMON_TCG_API_TOKEN`
# Example:
Fetch the prices for cards 1, 4, and 7 from SV: Obsidian Flames
obf.json:
```
[1, 4, 7]
```Script:
```sh
node index.js --setName sv3 --file=./obf.json
```Output:
```
Prices for cards from Obsidian Flames1 Oddish [ 'reverseHolofoil: 0.07', 'normal: 0.04' ]
4 Scyther [ 'reverseHolofoil: 0.1', 'normal: 0.05' ]
7 Masquerain [ 'reverseHolofoil: 0.14', 'normal: 0.04' ]
```