def get_ticker(api_code=None):
response = util.call_api('<STR_LIT>' if api_code is None else '<STR_LIT>' + api_code)<EOL>json_response = json.loads(response)<EOL>ticker = {}<EOL>for key in json_response:<EOL><INDENT>json_ccy = json_response[key]<EOL>ccy = Currency(json_ccy['<STR_LIT>'],<EOL>json_ccy['<STR_LIT>'],<EOL>json_ccy['<STR_LIT>'],<EOL>json_ccy['<STR_LIT>'],<EOL>json_ccy['<STR_LIT>'])<EOL>ticker[key] = ccy<EOL><DEDENT>return ticker<EOL>
Call the 'ticker' method and return a dictionary
    of :class:`Currency` objects.

    :param str api_code: Blockchain.info API code (optional)
    :return: a dictionary in the format of ccy_symbol(str):currency(:class:`Currency`)