def get_symbol(symbol: str):
    '\n    This is a helper function to get a companies full\n    name based on the stock symbol.\n\n    Functional usage example:\n\n    ```python\n    import janitor.finance\n\n    janitor.finance.get_symbol("aapl")\n    ```\n\n    :param symbol: This is our stock symbol that we use\n        to query the api for the companies full name.\n    :return: Company full name\n    '
    result = requests.get(('http://d.yimg.com/autoc.' + 'finance.yahoo.com/autoc?query={}&region=1&lang=en'.format(symbol))).json()
    for x in result['ResultSet']['Result']:
        if (x['symbol'] == symbol):
            return x['name']
        else:
            return None
This is a helper function to get a companies full
name based on the stock symbol.

Functional usage example:

```python
import janitor.finance

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

:param symbol: This is our stock symbol that we use
    to query the api for the companies full name.
:return: Company full name
def get_symbol(symbol: str):
    '\n    This is a helper function to get a companies full\n    name based on the stock symbol.\n\n    Functional usage example:\n\n    ```python\n    import janitor.finance\n\n    janitor.finance.get_symbol("aapl")\n    ```\n\n    :param symbol: This is our stock symbol that we use\n        to query the api for the companies full name.\n    :return: Company full name\n    '
    result = requests.get(('http://d.yimg.com/autoc.' + 'finance.yahoo.com/autoc?query={}&region=1&lang=en'.format(symbol))).json()
    for x in result['ResultSet']['Result']:
        if (x['symbol'] == symbol):
            return x['name']
        else:
            return None