import requests


def crypto_current(ticker = "BTC", fiat = "USD"):
	"""
	Use this function to aquire current price of a given cryptocurrency
	Call: crypto_current()
	Parameters:
		ticker(which cryptocurrency)
			(BTC for Bitcoin, ETH for ethermeum, etc.)
		fiat(base currency)
			(USD for US dollars, EUR for Euro, etc.)
	"""
	url = ("https://min-api.cryptocompare.com/data/price?fsym={}&tsyms={}".format(ticker,fiat))
	data = requests.get(url).json()
	return data[fiat]