How can I get the history list using the SDK?
And if it's not possible, would anybody be interested in a script that does this by parsing the .lrcat file?
I don't think you can read it while Lightroom is running, since its in the lrcat file which is locked, and there is no SDK support for it. But you can read it before Lightroom starts up. Python has built-in sqlite3 client which makes it convenient.
If you figure out how to do it via script I would be interested.
I hacked something together in C++ so I could plug it directly into my code. I think I've removed all specific code in here and left it generic, printing out all gathered data.
This requires the soci library.