Posted by: venux
« on: 14-11-2013, 07:45:43 »Hi, can you update multiup.org multi-hoster please?
they change little things into API like possibility to choose file-hosts into account.
Before, you used http://www.multiup.org/api/get-list-hosts with GET method.
So that, all file-hosts were selectionned.
Now, if upload is anonymous, do it like before.
But if user has an account, please use a POST method with 2 parameters : username and password.
You will have a new array with : disableHosts. Theses file-hosts should not be selectionned for upload.
example :
Thanks
they change little things into API like possibility to choose file-hosts into account.
Before, you used http://www.multiup.org/api/get-list-hosts with GET method.
So that, all file-hosts were selectionned.
Now, if upload is anonymous, do it like before.
But if user has an account, please use a POST method with 2 parameters : username and password.
You will have a new array with : disableHosts. Theses file-hosts should not be selectionned for upload.
example :
Quote
curl -F "username=USER" -F "password=PWD" "http://www.multiup.org/api/get-list-hosts"in this exemple, you should not upload on dl.free.fr
{"error":"success","hosts":{"1fichier.com":2048,"billionuploads.com":2048,"dfiles.eu":2048,"hugefiles.net":2048,"mega.co.nz":2048,"putlocker.com":2048,"rapidgator.net":2048,"rapidshare.com":2048,"streamupload.org":2048,"turbobit.net":2048,"uploaded.net":2048,"uploadhero.com":2048,"uptobox.com":2048,"filecloud.io":2040,"dl.free.fr":1024},"disableHosts":["dl.free.fr"]}|
Thanks