slightly more fleshed out example for this reddit thread about iterating over poe.ninja builds for data analysis purposes
u/Punishirt left a good notebook example in that thread as well
git clone git@github.com:ChanceToZoinks/ninja-getter.git
cd ninja-getter
mkvirtualenv ninja-getter # or however you make a venv make sure to activate it
pip install -r requirements.txt
python ./ninjagetter NUM_ACCOUNTS [--verbose | --help]
Message me on reddit I won't check this repo.