Hi, does Flashgot have an API callable from a browser-authorized script (e.g. a SeleniumIDE script), to download files?

My use case would be as follows:

0) assume Flashgot is installed
a) browse to a page
b) that triggers a GreaseMonkey/SeleniumIDE/etc script that identifies an image URL from the page
c) the script invokes a Flashgot API, passing in url and a name for the downloaded file
d) Flashgot handles downloading the image, however it does so