Skip to main content

Scryfall Cache is a library which minimizes the number of requests made to the Scryfall API.

Project description

scryfall-cache

pypi version Travis Status Documentation Status

Scryfall Cache is a library which minimizes the number of requests made to the Scryfall API.

Example

Example

>>> from scryfall_cache import ScryfallCache

>>> cache = ScryfallCache(application="scryfall_tests")

>>> card = cache.card_from_mtgo_id(12345)
>>> card["name"]
'Phyrexian Processor'

>>> card["id"]
'6875ce99-badd-44da-8e5d-509600efa1d0'

Credits

This package was created with Cookiecutter and the cmeister2/cookiecutter-pypackage project template.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

Changed

0.1.1 - 2019-01-09

Changed

  • Fixed docs and added an example.

0.1.0 - 2019-01-09

Added

  • Initial commit.

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_cache-0.1.1.tar.gz (11.2 kB view hashes)

Uploaded Source

Built Distribution

scryfall_cache-0.1.1-py2.py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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