Created a script that gets all editions a card has been printed in.
This commit is contained in:
		
							parent
							
								
									b6a906b223
								
							
						
					
					
						commit
						0dab4b17d8
					
				| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					import scrython
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					query = input("What editions of a card are you looking for? ")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					data = scrython.cards.Search(q="++{}".format(query))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					for card in data.data():
 | 
				
			||||||
 | 
					    print(card['set'].upper(), ":", card['set_name'])
 | 
				
			||||||
		Loading…
	
		Reference in New Issue