Question api in plugin(find api or func in python)

Hello every body and admin

I want to find and join party and academy by name or title. I spent a lot of time searching but to no avail. Is there a way to do what I want.
My aim is to create a fully automated plugin for academy(create char, delete char, move to party, join party, join academy, out academy)