Skip to content

Scrape data from Scryfall and TCGPlayer and serve that data locally.

Notifications You must be signed in to change notification settings

sbyt32/Preordain

Repository files navigation

MTG Price Fetcher

A simple price and sale fetcher for Magic: The Gathering, powered via Scryfall and TCGPlayer's API and written in Python.

Start the API with...

    pip install -r requirements-base.txt
    hypercorn preordain.main:app

Written documentation is a WIP. Location is currently here. More functions will be added and documented over time.

Check out the dashboard @ localhost:8000/docs


Features

This list is non-exhaustive.

  • API
    • Organize and track personal inventory
      • Compare current price vs purchase price.
      • Add, delete, and clear current inventory.
    • Fetch fresh price data (provided from Scryfall)
      • See individual card prices
        • USD, Euro, and Tix, including Day over Day changes
      • Examine Top gains / losses over USD / Euro / Tix
    • View and catagorize various cards as different groups
  • Scraper
    • Automatically scrape Scryfall price data and TCGPlayer sale data

To Do:

Just check here

Libraries

Base

arrow
hypercorn
psycopg[binary]
fastapi<0.95.0
python-dateutil
requests
httpx
python-dotenv

Dev

flake8
black
pytest
pytest-cov
pre-commit
pip-tools

Images

Home

home

Groups

groups group page

Search

search

About

Scrape data from Scryfall and TCGPlayer and serve that data locally.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published