Metadata-Version: 2.1
Name: aioscryfall
Version: 0.1.2.dev3
Summary: Asynchronous Python client for the Scryfall API
Author-email: George Leslie-Waksman <waksman@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/gwax/aioscryfall
Project-URL: Bug Tracker, https://github.com/gwax/aioscryfall/issues
Keywords: mtg,magic,scryfall
Requires-Python: >=3.11
Description-Content-Type: text/x-rst
License-File: LICENSE
Requires-Dist: aiohttp
Requires-Dist: appdirs
Requires-Dist: msgspec
Requires-Dist: requests-cache
Requires-Dist: requests
Provides-Extra: dev
Requires-Dist: aioresponses ; extra == 'dev'
Requires-Dist: black ; extra == 'dev'
Requires-Dist: doc8 ; extra == 'dev'
Requires-Dist: flake8 ; extra == 'dev'
Requires-Dist: flake8-bugbear ; extra == 'dev'
Requires-Dist: flake8-comprehensions ; extra == 'dev'
Requires-Dist: flake8-mutable ; extra == 'dev'
Requires-Dist: flake8-pyproject ; extra == 'dev'
Requires-Dist: isort ; extra == 'dev'
Requires-Dist: mypy ; extra == 'dev'
Requires-Dist: Pygments ; extra == 'dev'
Requires-Dist: pylint ; extra == 'dev'
Requires-Dist: pytest ; extra == 'dev'
Requires-Dist: pytest-asyncio ; extra == 'dev'

aioscryfall - Asynchronous Python client for Scryfall API
=========================================================

This is an early work in progress. I am currently in the phase of getting all of the
features in place. Once everything is in place, I will clean up the API and add
some abstraction layers and documentation on top.

For now, the API is very low level and you will need to read the Scryfall API and
the code to figure out how to use it.

You will need Python >= 3.11 (I may change this to support earlier versions in the future) and you will need to use aiohttp.

A minimal use case to get yourself started:

.. code:: python

    import asyncio
    import aiohttp
    import aioscryfall.cards

    async def get_bolt():
        async with aiohttp.ClientSession() as session:
            card_list = await aioscryfall.cards.search(session, "lightning bolt")
            return card_list.data[0]

    bolt = asyncio.run(get_bolt())
    print(bolt)
