def METHOD_NAME(v):
    apa_str = " & ".join(v["author"])
    if "year" in v.keys():
        apa_str += " (" + v["year"] + "). "
    if "title" in v.keys():
        apa_str += v["title"] + ". "
    if "journal" in v.keys():
        apa_str += v["journal"] + ", "
    if "volume" in v.keys():
        apa_str += v["volume"] + ", "
    if "pages" in v.keys():
        apa_str += v["pages"] + ". "
    if "doi" in v.keys():
        apa_str += "doi: " + v["doi"] + "\n"
    return apa_str