def GetValuesFromList(array, key):
    """[Gets values from dictionary and returns them as a list, to use at plot.]

    Arguments:
        array {[dict]} -- [Dict we get from ]
        key {[string]} -- [Key for ExchangeRate currency, EUR to KEY]

    Returns:
        [array] -- [Array of values to show on plot.]
    """
    vals = []
    for i in array:
        vals.append(i['rates'][key])
    return vals