def convert_stock(stock_symbol: str) -> str:
    '\n    This function takes in a stock symbol as a parameter,\n    queries an API for the companies full name and returns\n    it\n\n    Functional usage example:\n\n    ```python\n    import janitor.finance\n\n    janitor.finance.convert_stock("aapl")\n    ```\n\n    :param stock_symbol: Stock ticker Symbol\n    :raises ConnectionError: Internet connection is not available\n    :returns: Full company name\n    '
    if is_connected('www.google.com'):
        stock_symbol = stock_symbol.upper()
        return get_symbol(stock_symbol)
    else:
        raise ConnectionError('Connection Error: Client Not Connected to Internet')
This function takes in a stock symbol as a parameter,
queries an API for the companies full name and returns
it

Functional usage example:

```python
import janitor.finance

janitor.finance.convert_stock("aapl")
```

:param stock_symbol: Stock ticker Symbol
:raises ConnectionError: Internet connection is not available
:returns: Full company name
def convert_stock(stock_symbol: str) -> str:
    '\n    This function takes in a stock symbol as a parameter,\n    queries an API for the companies full name and returns\n    it\n\n    Functional usage example:\n\n    ```python\n    import janitor.finance\n\n    janitor.finance.convert_stock("aapl")\n    ```\n\n    :param stock_symbol: Stock ticker Symbol\n    :raises ConnectionError: Internet connection is not available\n    :returns: Full company name\n    '
    if is_connected('www.google.com'):
        stock_symbol = stock_symbol.upper()
        return get_symbol(stock_symbol)
    else:
        raise ConnectionError('Connection Error: Client Not Connected to Internet')