Using the launchpadlib python API to gather data from Launchpad.

How can I get the list of bugs associated with a username?
For example, on the web it's https://bugs.launchpad.net/~USERNAME...ilter_criteria

In this case, I want a list of the bugs I have worked without scraping them from the web page.