Skip to content

a python based programmatic tool for beating top offers on cardsphere.com

License

Notifications You must be signed in to change notification settings

markus-leben/gold-main

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gold-main

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).

Help Support gold-main and other Magic trading tools

Paypal link go here

Installation

Prerequisites

  1. Python (2 or 3 should work)
  2. Git (optional)
  3. Pip (usually comes with Python)

Mac / Linux

  1. Clone this repository with git clone https://github.com/markus-leben/gold-main.git or download the latest release
  2. Open Terminal.
  3. Go to the gold-main folder you just cloned or downloaded with cd /path/to/gold-main
  4. Run sudo pip install -r requirements.txt and enter your system password when prompted.

Windows

  1. Clone this repository with git clone https://github.com/markus-Leben/gold-main.git or download the latest release.
  2. Download Python from https://www.python.org/downloads/
  3. Install Python IMPORTANT: Select the check box to Add python.exe to Path.
  4. Unzip and open the gold-main folder.
  5. Shift + Right-Click, then select "Open command window here".
  6. Run the command python -m pip install -r requirements.txt

Configuring

  1. Open config.json in a plain text editor like Notepad or Sublime Text.
  2. Enter your Cardsphere username and password in place of the default values in the file. Be sure to keep the quotes around the values.
  3. 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.
  4. Save the file as config.json.
  5. Drag and drop a cardsphere wants export file into the folder that contains gold-main.py
  6. 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.

Running

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.

About

a python based programmatic tool for beating top offers on cardsphere.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages