PDA

View Full Version : Image Host API



Nli.
09-08-2012, 06:29 PM
Hi there,

I've been searching for some decent image hosting websites with an API that can be used to simply upload images to their server and allow me to view the URL within a string.

I've checked out ImageShack, Photobucket and Imgur - currently, ImageShack is the only one that I can figure out but you need to use a form in order to upload the files. Whilst this sounds perfectly normal this isn't what I require.

I'm currently getting a string from an RSS feed and extracting the images and uploading them to my own server and doing whatever else I need to do. But obviously as time goes on I'll run out of hosting space. All of this is pretty automatic and happens when the file is loaded in a browser or done via a Cron Job.

Obviously I could use some Javascript with the ImageShack script in order to fool it in to thinking I've pressed submit, but I still need to upload the file - I've tried inserting the value in to the input manually but returns an error.

So basically, I'm just wondering if there's anything out there what will give me what I need.

Thanks!

hamheyelliot
09-08-2012, 07:12 PM
I don't regularly work with APIs so forgive me if this isn't of any use!

A lot of image hosts these days use Chevereto (http://chevereto.com), which is basically an upload and go image hosting script. One site I know of that uses it is qoou.net (http://qoou.net). (the owner is on the forums and the site has been around for ages now.)

Anyway, all sites running Chevereto instantly have a pretty nice API you can use, as far as I'm aware it doesn't require the call to be from a form.

Here's all the documentation:

http://chevereto.com/docs#!api
http://chevereto.com/docs#!api-auth
http://chevereto.com/docs#!api-call
http://chevereto.com/docs#!api-response

Dentafrice
10-08-2012, 08:27 PM
Are you wanting something free or something that you only pay for what you use? I'd just use Amazon S3. It's not going to be free but it does exactly what you want.

Want to hide these adverts? Register an account for free!