I wrote a download module a while back. If you pass to it a url that returns a file, it will write the file to the local server.
Maybe you can figure out how to add the functionality you need for your api call.
I wrote a download module a while back. If you pass to it a url that returns a file, it will write the file to the local server.
Maybe you can figure out how to add the functionality you need for your api call.