def METHOD_NAME(data):
    showList = []
    # TODO: is indexer and indexerid swapped here or in traktChecker:591? !Important
    for indexer, indexerid, title, year in data:
        show = {"title": title, "year": year, "ids": {sickchill.indexer.slug(indexer): indexerid}}
        showList.append(show)
    post_data = {"shows": showList}
    return post_data