{"repo":"NandaScott/Scrython","free":true,"listed":false,"github":"https://github.com/NandaScott/Scrython","clone":"git clone https://github.com/NandaScott/Scrython.git","description":"A python wrapper for the Scryfall API","language":"Python","stars":163,"topics":["scryfall-api","wrapper","python-3","python-library","magic-the-gathering","api-wrapper","json-api","mtg-api","python"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Scrython Scrython is a wrapper for the Scryfall API, designed for an easier use. Here is a link to the Scryfall API documentation. Installation Scrython is available in PyPI, and requires no other dependencies. Type Hints Scrython is a PEP 561 compliant typed package. It ships a py.typed marker, so mypy, pyright, and Pylance all pick up the bundled inline type hints without any extra configuration or stub packages. Run your type checker of choice against scrython imports and it will work out of the box: ⚠️ Important: Rate Limiting Good news! Scrython 2.0 includes built-in rate limiting enabled by default. You no longer need to manually add delays between requests. Scrython automatically enforces Scryfall's tiered rate limits: - 10 requests/second for most endpoints (cards by ID, sets, bulk data, autocomplete, etc.) - 2 requests/second for heavier endpoints: Search , Named , Random , and Collection See Scryfall's rate limit documentation for details. Automatic Rate Limiting (Default): Custom Rate Limits: Legacy Code (Manual Rate Limiting): If you prefer manual rate limiting or need finer control: Better: Use Bulk Data for Large Datasets For large-scale data processing, use Scryfall's bulk data downloads instead: Built-in Caching Scrython 2.0 includes built-in caching with TTL (time-to-live) support: Note: Card prices become unreliable after 24 hours. Consider shorter TTLs for price-sensitive applications. Legacy Caching (functools.lru cache): You can still use Python's built-i","default_branch":null,"files":null,"tree":[],"storefront":"/r/NandaScott","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NandaScott/Scrython/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}