import requests


def get_list_nab() -> list:
    """
    Get list of possible time series to retrieve from the Numenta Anomaly Benchmark: https://github.com/numenta/NAB.

    Returns
    -------
    List with time series names.
    """
    url_labels = 'https://raw.githubusercontent.com/numenta/NAB/master/labels/combined_labels.json'
    r = requests.get(url_labels)
    labels_json = r.json()
    files = [k[:-4] for k, v in labels_json.items()]
    return files