PageGlimpse new feature - check if a thumbnail exists 1

Posted by Peter Thomas on December 15, 2008

One of the most requested feature for PageGlimpse was a way to check whether PageGlimpse already has a thumbnail for a specific URL. This feature is mostly used in applications that want to poll until a thumbnail exists, before displaying it. 

The feature was released today. Like all PageGlimpse APIs, this new feature is straight forward:

http://images.pageglimpse.com/v1/thumbnails/exists?url=http://www.techcrunch.com/&size=large&devkey=1234567890

The server will return a JSON string (which you can use in your javascript code) indicating whether the request was successful or not (the thumbnail exists or not)

200 ["result", "yes"] PageGlimpse has a thumbnail for the requested url.
404 ["result", "no"] PageGlimpse does not have a thumbnail for the requested url.

More information here: http://www.pageglimpse.com/features/api

Trackbacks

Use this link to trackback from your own site.

Comments

Leave a response

  1. Erwin Jurschitza Mon, 07 Sep 2009 12:04:04 UTC

    If a thumbnail doesn’t exist yet, does a call to “exist” add the creation process of the thumbnail to the queue, so that I can poll again in 10-60 seconds?

Comments