Scryfall Cache is a library which minimizes the number of requests made to the Scryfall API.
Project description
scryfall-cache
Scryfall Cache is a library which minimizes the number of requests made to the Scryfall API.
- Free software: MIT license
- Documentation: https://scryfall-cache.readthedocs.io.
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)
Built Distribution
Close
Hashes for scryfall_cache-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38918665d4fb5d23df6c487a6e5ae9a63e89d12188b8e3070e2841fcc64478f3 |
|
MD5 | 8df5f0c976d2623d97c9c9e9da8ab90f |
|
BLAKE2b-256 | f163c2c6b0c1d7ff04abb5a9b6d9d511fdc7af0bca5083e8b4e6253543c2cc65 |