A comprehensive football card data ingestion and analysis system that scrapes card information from TCDB and monitors eBay pricing data.
cardStatX is a multi-component system designed to:
- Scrape football card catalog data from The Trading Card Database (TCDB)
- Monitor eBay listings for pricing information
- Provide a web API for accessing card statistics and averages
- Maintain a continuously updated database of card values
- Install required dependencies:
pip install -r requirements.txt- Rename
constants.py.exampletoconstants.pyand edit like so:
OAUTH_TOKEN = "your_ebay_oauth_token_here"But how do I get an OAUTH token??
-
Run
scraper.pyand wait. It will take up to 20 minutes. -
Run
ingestor.pyand wait. It could take several hours depending on how much data you want from eBay. -
Run
web.pyand go wild.
/api/list - returns a list of every card's id along with it's name
/api/<card>/stats/average - returns average price in USD of card based on eBay data. comes in week, month, and year.
I don't know if these will ever happen, pr open!
- Add more filtering to eBay search results
- Combine scripts into modules
- Website Frontend
When contributing to this project, please:
- Maintain the existing code style and logging patterns
- Add appropriate error handling and logging
- Update documentation for any new features
- Test thoroughly with rate limiting in mind
This tool is for educational and personal use only. Please respect:
- eBay's Terms of Service and rate limits
- TCDB's robots.txt and usage policies
- All applicable laws and regulations regarding data scraping
The author is not responsible for any misuse of this software or violations of third-party terms of service.



