示例#1
0
def logoNotebook(symbol, token="", version=""):
    """This is a helper function, but the google APIs url is standardized.

    https://iexcloud.io/docs/api/#logo
    8am UTC daily

    Args:
        symbol (str): Ticker to request
        token (str): Access token
        version (str): API version

    Returns:
        image: result
    """
    _raiseIfNotStr(symbol)
    url = logo(_quoteSymbols(symbol), token, version)["url"]
    return ImageI(url=url)
示例#2
0
文件: profiles.py 项目: mjdhasan/pyEX
def logoNotebook(symbol, token='', version='', filter=''):
    '''This is a helper function, but the google APIs url is standardized.

    https://iexcloud.io/docs/api/#logo
    8am UTC daily

    Args:
        symbol (str): Ticker to request
        token (str): Access token
        version (str): API version
        filter (str): filters: https://iexcloud.io/docs/api/#filter-results

    Returns:
        image: result
    '''
    _raiseIfNotStr(symbol)
    url = logo(symbol, token, version, filter)['url']
    return ImageI(url=url)
示例#3
0
def logoNotebook(symbol):
    '''https://iextrading.com/developer/docs/#logo'''
    _raiseIfNotStr(symbol)
    url = logo(symbol)['url']
    return ImageI(url=url)
示例#4
0
文件: api.py 项目: paurichardson/pyEX
def logoNotebook(symbol):
    url = logo(symbol)['url']
    return ImageI(url=url)
示例#5
0
文件: stocks.py 项目: Sdoof/pyEX
def logoNotebook(symbol):
    _raiseIfNotStr(symbol)
    url = logo(symbol)['url']
    return ImageI(url=url)