Webthumb API released

Webthumb now has an API. Its a simple REST API based on posting some simple XML.

It gives you the ability to request thumbnails, check on there status, and even download files.

To use the API register and then goto your user page, your API key is shown there.

Basic docs on the Webthumb API are available.

If you have any comments or suggestions leave them as comments.

The API is currently in beta so im sure there will be some changes and additions, but its a very usable state. If someone wraps the API for easy PHP access i’d be interested in hosting the code so if you write a wrapper please get in touch with me.

8 thoughts on “Webthumb API released”

  1. Hi
    Its awesome. I just used the API and its great. I am creating wrapper class using PHP and hopefully you will get it by tomorrow.


  2. Hasin:
    Thanks for writing the wrapper. All those requests are keeping my processing queue nice and full. I’ll be looking at solutions to speeding up processing time in the next week or so. But at least part of that will be some rate limits.

  3. Very nice application I must say. I have been toying with it and it works well. I may have been making too many requests at a time, sorry about that, I have limited my requests to one per 15 seconds. What I am planning on using it for is to fetch my thumbnails for http://globalwarminginthenews.com and the associated environmental sites. Each site may have 10 or so articles per day which I will select from about 20 – so I may be making 100 plus calls to your API per day – is that OK? If so I will probably set a Cron to pull them in once per hour. Thanks again for an excellent system.

  4. Robin: The system is queue based so its not a big deal to make multiple requests at once. Polling for results somewhere around 30-60 seconds is fine.

    Number of requests wise you should only be able to make 250 requests a month. Email me (josh@bluga.net) and we can work something out to get past that.

  5. On that urls that fail its because its not getting through the url validation code.

    My url validator (PEAR Validate) doesn’t seem to like / in the query string. I’ll look into changing that but i’d rather be more scrict on that account rather then less. You should be able to urlencode the / and things will work.

  6. I’ve sent you a couple of emails Josh – and that’s fine – I can urlencode – I just didn’t realize that was the problem…

    Thanks again!

    – Robin.

Comments are closed.