Daily Slack message for unhandled programs

I want to use Python to import icinga module to get all the unhandled problems in Nagios. We are using Nagios 1 and Icinga on top of it as Web.

Appreciate any clue on which icinga module I should use?

I think you would need to look at the Nagios API instead.