web_programming.crypto_price_tracker ==================================== .. py:module:: web_programming.crypto_price_tracker .. autoapi-nested-parse:: Fetch the current price of a cryptocurrency in USD using CoinGecko API. Functions --------- .. autoapisummary:: web_programming.crypto_price_tracker.crypto_price Module Contents --------------- .. py:function:: crypto_price(coin: str = 'bitcoin') -> float Return the current price of a cryptocurrency in USD using CoinGecko API. >>> isinstance(crypto_price("bitcoin"), float) True >>> isinstance(crypto_price("ethereum"), float) True