Getting Anki Deck Tags or Card Tags in Development

Hi guys,

I have a code that gets the ease of the answer of the reviewer

from aqt import gui_hooks
from aqt.utils import showInfo

def testing(reviewer, card, ease):
showInfo(“your ease is: %d” % ease)


Now I plan to try to get the “tagging” of the card, is that possible?

And which hook should I look for if I would want to target the end of the deck?