Skip to main content

A way to scrape the Scryfall API without much worry.

Project description

Scryfall Scraper Scripts

Do you see yourself scraping the Scryfall database often?

Me, too! Here is a collection of scripts to help you with that.

Note: I am not affiliated with the Scryfall Team. Follow their rules: https://scryfall.com/docs/api

Things You Can Do (right now)

More to come later.

Bulk Scraping

https://scryfall.com/docs/api/bulk-data

scrape_oracle_cards()   # oracle_cards on Scryfall.
scrape_unique_artwork() # unique_artwork on Scryfall.
scrape_default_cards()  # default_cards on Scryfall.
scrape_all_cards()      # all_cards on Scryfall.
scrape_rulings()        # rulings on Scryfall.

Set data

https://scryfall.com/docs/api/sets

scrape_all_sets()       # all sets
scrape_by_code()        # one set by set code
scrape_by_scryfall_id() # one set by scryfall id
scrape_by_tcgplayer_id()# one set by tcgplayer id

Compression

Not a Scryfall Scrape, but nifty tools you may need.

compress_dir()          # Compress a directory a bunch of .gz files

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scryfallscraper-0.0.3.2.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scryfallscraper-0.0.3.2-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file scryfallscraper-0.0.3.2.tar.gz.

File metadata

  • Download URL: scryfallscraper-0.0.3.2.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for scryfallscraper-0.0.3.2.tar.gz
Algorithm Hash digest
SHA256 b3d72cf835ef0dc5d59003068523d5f38d5a666b3064a10884542a63b7bb1152
MD5 842274d3964870be76cbb55a99fd4579
BLAKE2b-256 79ffff69143ec56a101c153fc05ff8f48c109d963fa15875a72bd358d0e93116

See more details on using hashes here.

File details

Details for the file scryfallscraper-0.0.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for scryfallscraper-0.0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c20a3265632a54989c2f97b428f1a7735ec419fec0f24975f167cb25900c40ae
MD5 8b006e0332af53c3362f2b4cd8dd363c
BLAKE2b-256 ae45fa2753a6359aa158a0bca75a0a7285d6bed2a976c5f61dd25add9d17c148

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page