Skip to content

JessePeplinski/tcg-market-alerter

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

tcg-scraper

An attempt to play around with TCG's market prices.

This app saves a copy of the specified product as a local JSON file, and checks every 5 seconds if there is a change in the market value. If there is, an alert is displayed and the user is emailed of the change.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development.

API's Used

  1. TCGPlayer
  2. Mailgun

Initial Setup

You'll need to follow the instructions here to get your own BEARER token and replace it within app.py in the getRequest() function.

"Authorization": "bearer YOUR_BEARER_TOKEN_HERE"

Required software

python 3

Recommended software

postman

Check out this blog post I wrote on getting the TCG API setup with postman.

Required packages

requests, json

Running the app

python3 app.py

Example run

asciicast

  • I created this fancy GIF with asciinema. brew install asciinema and asciinema rec

Future Implementation

Check out the planned work in the issues.

Authors

Jesse Peplinski

About

An attempt to play around with TCG's market prices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages