Skip to main content

A wrapper for intuitive use of the Scryfall API

Project description

scryfall_wrapper

The easiest way to get fresh data on every Magic TCG for your software in a simple and intuitive way.

Usage/Examples

from scryfall_wrapper import *

# Easily fetch data from scryfall with string search args
sol_ring = Card("Sol Ring") 

# Get up to date prices with a single method
price = sol_ring.price()

# Along with support for almost any type of data scryfall has
cmc = sol_ring.cmc
artist = sol_ring.artist
rarity = sol_ring.rarity
set_code = sol_ring.set

# Get data on collections of cards with one call
every_reprint = sol_ring.reprints()

# Use Card_Set objects to represent a set of MTG and related data
commander_legends = Card_Set("CMR")
all_cmr_cards = commander_legends.cards()




## Authors

- [@atharvashirke](https://www.github.com/atharvashirke)

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

scryfall_wrapper-0.1.0.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

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

scryfall_wrapper-0.1.0-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file scryfall_wrapper-0.1.0.tar.gz.

File metadata

  • Download URL: scryfall_wrapper-0.1.0.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for scryfall_wrapper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ca8ba5927aad663e68f58372a85a6e631ba79e52eeed0bf71eb82d189751029b
MD5 16482afbab9542e2f37c426ab247ec4e
BLAKE2b-256 36707ff4187af331182aa1f8b8963ba0af160aaa3814cd15e366bf542e6888b9

See more details on using hashes here.

File details

Details for the file scryfall_wrapper-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: scryfall_wrapper-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for scryfall_wrapper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65f0f417045ac9c2638456488c193e5636174961baca68bf3543e5924b02717d
MD5 26c82aae871f1fe3dcb1145056429ecd
BLAKE2b-256 6947e0ed9293e4931a597adb8c99edb36b244ce9e67bc5205e88298e032100b7

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