Commit Graph

42 Commits

Author SHA1 Message Date
Holly 9bfdb719c7 Update for new card types, include default for missing card types 2024-09-30 21:22:41 +00:00
NandaScott 5e274384f5 Added support for tcgplayer_etched_id 2021-09-06 12:32:15 -04:00
NandaScott daee40ba20 Added deprecation warnings to foil and nonfoil 2021-09-06 12:20:57 -04:00
NandaScott fbd8aeb55f Added support for new pricing fields 2021-09-06 12:17:40 -04:00
NandaScott 4e74177207 Added support for the finishes attribute 2021-09-06 12:08:26 -04:00
Luke 804150946b
add support to class cards
With the new expansion "forgotten realms", they added a new type of cards: class cards. This is one example

[cleric class json response](https://api.scryfall.com/cards/47ce8b7e-d8e1-489a-a69e-99089eeb8739?format=json&pretty=true) and [cleric class scryfall view](https://scryfall.com/card/afr/6/cleric-class). So basically I added a one-liner to support them. Can you please merge the PR?

Thanks! 😄
2021-07-16 15:36:02 +02:00
NandaScott 2df2505c8f Added support for the image_status field 2021-03-04 23:06:10 -05:00
Aaron Jencks 53253bf00f
Update cards_object.py
Added modal_dfc layout type to the layout dict
2020-12-27 18:56:20 -06:00
NandaScott 9f1d1bcf7d Added preview key 2019-10-02 21:15:26 -04:00
NandaScott 1928500296 Merge branch 'master' of git://github.com/dstathis/Scrython into dstathis-master 2019-09-25 19:22:05 -04:00
Dylan Stephano-Shachter 2575990403 add usd_foil as a mode option to prices 2019-09-25 07:13:50 +03:00
Dylan Stephano-Shachter 9fd74649bf scryfall seems to now give a list frame_effects rather than a single frame_effect 2019-09-25 07:10:10 +03:00
Dylan Stephano-Shachter 06c5ab6e3a Fix issue where prices are now a nested dictionary 2019-09-25 06:56:31 +03:00
Nanda Scott 9ab3661785
Merge pull request #41 from jedibob5/adventure-fix
Adding adventure to list of card layouts for image_uris
2019-09-24 18:56:21 -04:00
jedibob5 bf3e30ae80 Adding adventure to list of card layouts for image_uris 2019-09-24 09:35:16 -05:00
NandaScott 1507d5f08f Updated cards_object 2019-04-01 12:53:29 -04:00
Nanda Scott e45e45764d Updated image_uris to make getting uris easier 2018-10-30 13:13:09 -04:00
Nanda Scott f57992a9e3 Can't get this to work quite right 2018-10-29 17:18:38 -04:00
Nanda Scott 0508ddc817 Fixing merge with develop 2018-10-23 23:28:25 -04:00
Nanda Scott 751b3d55d5 Added docstrings to all methods 2018-10-23 22:33:18 -04:00
Nanda Scott bf8e97caf7 Refactored all objects to use a single unified get request method 2018-10-23 21:39:07 -04:00
Nanda Scott b90946240c Updated docstrings and some functionality. Still working on cards_object 2018-10-23 20:54:28 -04:00
Nanda Scott 31c562da60 Updated cards_object to pass tests 2018-10-23 00:36:27 -04:00
Nanda Scott 5e2e1456ba Updated card_object to current standards 2018-10-22 10:55:26 -04:00
Nanda Scott c684bb7eb1 Updated to use spaces over tabs. 2018-10-22 10:19:38 -04:00
Nanda Scott 0c6c04af5e Updated cards_object docstring 2018-06-13 14:22:14 -04:00
Nanda Scott cf5d1f94f9 Added support for multilingual stuff. 2018-06-13 14:01:12 -04:00
Nanda Scott b9ca5393c6 Added lang attribute 2018-06-13 13:44:26 -04:00
Nanda Scott 512491235a Added arena_id method to cards 2018-06-13 13:37:44 -04:00
Nanda Scott ec2cf1a0a7 Updated key check functions for less spaghetti, also fixed sets and symbology to be consistent. 2018-04-18 20:55:11 -04:00
7ad802bcd8 Updated all self._url variables to use format. 2018-03-03 20:41:33 -05:00
4d45c17e06 Refactored code to be more DRY, and removed private protection from checkForKey. 2018-03-03 16:37:24 -05:00
ab96f0fa23 Got discord.py to work with scrython. 2018-02-28 21:04:45 -05:00
f14dc616af Edited some files before work begins. 2018-02-28 18:23:33 -05:00
215379e5fe Updated docs to properly reflect changes. 2018-02-27 22:42:34 -05:00
Mendess2526 31b65e8e99 Adds power, toughness, loyalty, and flavor_text methods to card object 2018-02-26 23:19:00 +00:00
Nanda Scott 3f05856b4a Added docstrings to all Cards classes. 2018-02-21 14:42:58 -05:00
Nanda Scott 1177ebaf46 I think I fixed the issue with async now. 2018-02-15 15:03:18 -05:00
Nanda Scott 958c332e65 Changed a whole bunch of stuff. 2018-02-13 21:02:48 -05:00
Nanda Scott 5cba1532f7 Added better error handling and messages. 2018-02-13 16:17:20 -05:00
Nanda Scott 30b03a3630 Fixed a bug by changing all kwargs to default to None 2018-02-09 17:46:42 -05:00
Nanda Scott eee66d4826 Refactored cards to be more clear and consistent. 2018-02-06 22:01:08 -05:00
Renamed from scrython/cards/scryfall_object.py (Browse further)