def dict_key(dictionary, key):
    """
    Receive and dictinoary and a key
    :param dictionary: 'playlists': {'0': {'id': 3, 'name': 'Novo'}, '1': {'id': 3, 'name': 'Novo'}}
    :param key: '0' :str
    :return: The value of the dict. Ex: {'id': 3, 'name': 'Novo'} :dict
    """
    return dictionary[int(key)]