I got bored and implemented some of the functions of the API into a perl module.
Example: https://gist.github.com/raw/f48ca460cfc7ce1ea797/b640e6f8347ffab1c3ed17d10cb97ddbf2060fea/dlpool.pl
Perl Module: https://gist.github.com/raw/f48ca460cfc7ce1ea797/66ff0143c90d11e477d57c330c2b0fbe1c93eafd/e621.pm