Updated docs to properly reflect changes.
This commit is contained in:
		
							parent
							
								
									ae0789cfb7
								
							
						
					
					
						commit
						215379e5fe
					
				| 
						 | 
				
			
			@ -60,6 +60,9 @@ All attributes are listed assuming the following
 | 
			
		|||
|`card.watermark()`|String | The associated watermark of the card, if any.
 | 
			
		||||
|`card.story_spotlight_number()`|Integer | This card's story spotlight number, if any.
 | 
			
		||||
|`card.story_spotlight_uri()`|String | The URI for the card's story article, if any.
 | 
			
		||||
|`card.power()`|String| The power of the creature, if applicable.
 | 
			
		||||
|`card.toughness()`|String| The toughness of the creature, if applicable.
 | 
			
		||||
|`card.flavor_text()`|String| The flavor text of the card, if any.
 | 
			
		||||
 | 
			
		||||
## *class* `cards.Named()`
 | 
			
		||||
Gets a card by the name.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -68,6 +68,9 @@ class CardsObject(object):
 | 
			
		|||
		watermark : str  ......... The associated watermark of the card, if any.
 | 
			
		||||
		story_spotlight_number : int  ... This card's story spotlight number, if any.
 | 
			
		||||
		story_spotlight_uri : str  ... The URI for the card's story article, if any.
 | 
			
		||||
		power : str . The power of the creature, if applicable.
 | 
			
		||||
		toughness : str . The toughness of the creature, if applicable.
 | 
			
		||||
		flavor_text : str . The flavor text of the card, if any.
 | 
			
		||||
	"""
 | 
			
		||||
	def __init__(self, _url, **kwargs):
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -426,5 +429,3 @@ class CardsObject(object):
 | 
			
		|||
			raise KeyError("This card has no key \'flavor_text\'")
 | 
			
		||||
 | 
			
		||||
		return self.scryfallJson['flavor_text']
 | 
			
		||||
	
 | 
			
		||||
	
 | 
			
		||||
		Loading…
	
		Reference in New Issue