[docs] Fix README, guide
This commit is contained in:
parent
759f6d9fc6
commit
abca0509da
2 changed files with 19 additions and 3 deletions
19
README.md
19
README.md
|
@ -1,3 +1,22 @@
|
||||||
# Scryfall-py
|
# Scryfall-py
|
||||||
|
|
||||||
An async Scryfall API wrapper written in Python
|
An async Scryfall API wrapper written in Python
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
### Installation
|
||||||
|
|
||||||
|
To get started, install `scryfall-py`
|
||||||
|
|
||||||
|
`pip install scryfall-py`
|
||||||
|
|
||||||
|
### Getting started
|
||||||
|
|
||||||
|
```py
|
||||||
|
from scryfall import Scryfall
|
||||||
|
client = Scryfall()
|
||||||
|
|
||||||
|
card = await client.search_cards_named("Arcades, the Strategist")
|
||||||
|
```
|
||||||
|
|
||||||
|
This will fetch the card Arcades, the Strategist from the Scryfall API
|
||||||
|
|
|
@ -12,9 +12,6 @@ To get started, install ``scryfall-py``::
|
||||||
Getting Started
|
Getting Started
|
||||||
***************
|
***************
|
||||||
|
|
||||||
Hashing Files
|
|
||||||
~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
from scryfall import Scryfall
|
from scryfall import Scryfall
|
||||||
|
|
Loading…
Add table
Reference in a new issue