I'm positive you will have no issues understanding it! It's littered with commented-out and non-commented debugging print statements, because I had some troubles with repeatedly calling it from another script. I eventually found a way to make it work. But it's not completely out of the woods quite yet, as I found some bugs I mentioned in that earlier comment.
Cheers!
!BEER
RE: Fetching Hive-Engine Liquidity Pools Just Got Better!