How to get all the issuetypes in a project

Different project has different set of issuetypes depending how people are setting it up, right? I would like to iterate through all projects and print all the issuetypes. How could I do it? I am using the JIRA python client and I suspect that the client can’t do it.

Something like that:

Proj1
Epic
Story
Bug
Improvement

Proj2
Story
Bug

Proj3
Task
Improvement