Skip to content

Downloads a player's market history from theshownation.com

Notifications You must be signed in to change notification settings

don-shaw/MLBTheShow-MarketHistory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

MLBTheShow-MarketHistory

Downloads a player's market history from theshownation.com

To get started...

  1. Log in and browse to https://mlb21.theshow.com/orders/completed_orders
  2. Open up developer tools in your browser (F12 on Windows)
  3. Click on the network tab of developer tools
  4. Scroll down and select the second page
  5. Right click on the request that says /completed_orders?page=2&
  6. Select Copy > Copy as cURL (cmd)
  7. Navigate to https://curl.trillworks.com/
  8. Paste the curl command into the window
  9. Copy the Python headers section.
  10. You only need the header information. Overwrite the headers in the code on line 68 and you will be good to go. This contains your authentication token and cookies
  11. Update the other variables on lines 82-85. You will need PostgreSQL installed. If you want to ignore the database part, put # in front of those lines if they are not already there
  12. Run code!


Sample Query



Tracking Transactions by Day

About

Downloads a player's market history from theshownation.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages