Are API calls or CLI communications possible?

I am thinking to use OnlyKey as a RND generator to compare with /dev/urandom and TPS2 chip on my laptop. I collected some stats already on the last two.

There is python CLI tool that does this OnlyKey Command-Line Utility | Docs