I made a script that checks pool API on a regular basis and sends notifications to the messenger when it 'sees' a new block. Initially I developed it for myself, because I was not very happy with Android app that gave 'false positive' notifications every time kdb is restarted. Then I thought it may be helpful to others - so I made a channel for others to be able to join as well.
The script does not store historical data (except for the last block height), so it is what it is - a tool to notify about new blocks.
Minergain provides a lot more statistical data, so I'm not even trying to compete!

Minergain could do a lot more too - including an eventual api - but I have been lazy! I am happy to help anywhere you like. Not a problem if you want to continue your processing but if you want me to "auto" hook into your system one way or another, I am happy to help with that too (no charge of course).