Asus GPIO setup

Sorry if I choose the wrong section…

Proceeding to my attempt on writing the component for asus tinker board, I stumble at the fact that I need to get the list of pins being used in order to instruct the program to setup their mode and in the clean up event to remove them.

So I’m asking which list is recorded at the point that __init__.py is called in.
Even better where can I collect the list of these pins?