Simple requests CLI based program to get last sales of a product from StockX
Python 3
pip3 install -r requirements.txt
git clone
cd stockx-sneakers-prices
python3 src/scraper.py --keywords your keywords
Example
python3 src/scraper.py jordan 1 mocha
This will look for the 250 last sales of the Jordan 1 Mocha.
By default, it will retrieve the last 250 sales but can be less if there has not been that many.
- Ask for keywords (argparse)
- Retrieving last sales
- Saving data as a csv file
- Dataframes creation (pandas)
- Charts creations (matplotlib)
- machine learning models implementation (sklearn)
- deep learning implementation to predict prices (tensorflow)
It asks the user for the keywords.
Getting data using Requests
python module
Simple .csv format saving
Plots creation will be created grouping sales by periods (7-day or 1-month for instance) and saved as a .png file