We already implemented mapping from product API response to python object also separate the sync and async function.
We need to do the same thing in Category API, like this.
from pygramed import PyGramedia
obj = PyGramedia()
obj.category.retrieve()
obj.category.retrieve_async()