Tools for bulk-downloading from

I would like to be able to do a single bulk download of every self-published extension I have previously uploaded to AMO. I have tried to script this process using cURL+JWT and the API but nothing I try is working. Is there a better way? Can web-ext do it?