Open MichaelJAndy opened 5 years ago
The following code returns 448 results where it should only return one.
from mtgsdk import Set sets = Set.find('ktk').all() len(sets)
I obtained this snippet from the code examples on the repo readme https://github.com/MagicTheGathering/mtg-sdk-python/blob/master/README.md
Don't use .all() with Set.find(), or Card.find() for that matter.
The instructions on the readme say to use Set.find('ktk') When you call .all() on the returned object it gets all sets.
The following code returns 448 results where it should only return one.
I obtained this snippet from the code examples on the repo readme https://github.com/MagicTheGathering/mtg-sdk-python/blob/master/README.md