mirror of
				https://github.com/Eledio/superfaktura-client.git
				synced 2025-10-31 16:11:20 +01:00 
			
		
		
		
	country: tool for obtain list of countries
This commit is contained in:
		
							
								
								
									
										12
									
								
								utils/country.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								utils/country.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | |||||||
|  | from pprint import pprint | ||||||
|  |  | ||||||
|  | from superfaktura.superfaktura_api import SuperFakturaAPI | ||||||
|  |  | ||||||
|  |  | ||||||
|  | def country_list(): | ||||||
|  |     api = SuperFakturaAPI() | ||||||
|  |     url = "countries" | ||||||
|  |     return api.get(url) | ||||||
|  |  | ||||||
|  |  | ||||||
|  | pprint(country_list()) | ||||||
		Reference in New Issue
	
	Block a user