I’m actually using yours with one patch applied (using curl
rather than fopen
to retrieve contents).
Robin Lassonde wrote a nice one in PHP last year that I’d like to switch to because it has error handling in a way that suits Match Play better. Haven’t had time though. Her library is here: https://github.com/RobinLassonde/ifpaclient