MagicTheGathering / mtg-sdk-python

Magic: The Gathering SDK - Python
MIT License
255 stars 45 forks source link

Query for language #4

Closed rafa-acioly closed 7 years ago

rafa-acioly commented 7 years ago

I'm trying to use Card.where(language='portuguese').all()

and i'm always geting empty list, i'v try as well:

Card.where(language='russian').where(name=3).all()

that are the same of

https://api.magicthegathering.io/v1/cards?language=russian&name=3

and i'm getting empty list too.

adback03 commented 7 years ago

I believe we worked this out via discord. Let me know otherwise.

rafa-acioly commented 7 years ago

Yes, we solve through discord. The problem was that the language portuguese is in different syntax.

Card.where(language="Portuguese (Brazil)")