gold-main is simple python tool for programmatically beating top offers on cardsphere.com
gold-main gets a sorted list of top offers from cardsphere's Rest API and uses that, in combination with a wants export of yours, to beat the top offer on each card in your wants export by $0.02 (the smallest price difference guaranteed to cause the seller to recieve additional funds).
Paypal link go here
- Python (2 or 3 should work)
- Git (optional)
- Pip (usually comes with Python)
- Clone this repository with
git clone https://github.com/markus-leben/gold-main.git
or download the latest release - Open Terminal.
- Go to the gold-main folder you just cloned or downloaded with
cd /path/to/gold-main
- Run
sudo pip install -r requirements.txt
and enter your system password when prompted.
- Clone this repository with
git clone https://github.com/markus-Leben/gold-main.git
or download the latest release. - Download Python from https://www.python.org/downloads/
- Install Python IMPORTANT: Select the check box to Add python.exe to Path.
- Unzip and open the gold-main folder.
- Shift + Right-Click, then select "Open command window here".
- Run the command
python -m pip install -r requirements.txt
- Open
config.json
in a plain text editor like Notepad or Sublime Text. - Enter your Cardsphere username and password in place of the default values in the file. Be sure to keep the quotes around the values.
- Add any usernames, user_id's, country names, or country initials to their respective whitelists and blacklists. It's usually a good idea to ad yourself to the user blacklist, unless you want to be beating your own price if you're the current top offer.
- Save the file as
config.json
. - Drag and drop a cardsphere wants export file into the folder that contains gold-main.py
- You'll get an error on startup if you have no
config.json
, no cardsphere_wants_[datetime].csv, or you have no username and password in there.
At this point you should be able to run gold-main with:
run gold-main.py
or by double clicking gold-main.py, or by running it in your IDE of choice. When cold caching it will take quite a while for the program to load offers. This is normal. After it's done running it will spit out a file named output.csv
. This file should be a ready-to-import wants file that beats all other users wants for cards in your original .csv file.