There may be no API for perl yet, but they give detailed information about
developing a new API. This should be enough for you to build the subset of the API you need (login, upload request, and an upload form). Alternatively, why not build the whole API and put it on CPAN for everyone to enjoy? The python example looked like about 200 lines of code.