Retrieve Snapshot Info with New Parameter

by SnapCasaFounder 21. January 2009 02:14

The custom headers I wrote about earlier this month have quickly become a popular feature.  Both Basic and Premium users are easily able to read the status header value and handle the response accordingly.  Today I am happy to introduce a new parameter Premium users can take advantage of to detect the status of a snapshot.  By attaching the parameter ‘info’ to a SnapCasa request string a user can make as many snapshot status inquiries as they require without ever being charged any credits.

With the info parameter included no snapshot will ever be returned or submitted for processing.  It is simply a way to gather information about a snapshots status or existence instantly.  When the parameter info =  1  SnapCasa will respond with a custom header named ‘snapshot-info’.  It’s possible values are:


0 – Snapshot does not Exist in Requested Size
1 – Snapshot Exists in Requested Size
2 – Snapshot Processing
3 – Snapshot Queued
4 – Snapshot Queued for Second Attempt
5 – Snapshot Unavailable

Certain users may require to check whether a snapshot exists in a specific size before submitting a capture request.  The info parameter will enable them to accomplish this without being charged any credits.  A sample info request may look like so:

http://snapcasa.com/get.aspx?code=1000&width=300&height=300&info=1&url=yahoo.com

 

Either the size or width and height parameters are required with the info parameter.  This is so that we can check whether a snapshot exists in the size you require.  Additionally you can also include the page parameter to check whether a full page capture exists of a webpage.  The info parameter should be included prior to the url parameter in your request string.

Please contact me with any questions!

Thanks!

Currently rated 3.7 by 6 people

  • Currently 3.666667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , , , ,

SnapCasa.com

Improved Custom Graphics Feature!

by SnapCasaFounder 13. January 2009 15:54
 
Specifying custom graphics allows Premium users to replace the default Processing, Queued, and Unavailable snapshot images with their own custom graphics.  Prior to this update users were limited to only specifying Processing and Unavailable images for all domains in their account.  Users can now alter the graphics on a per domain basis and can also specify a graphic for Queued snapshots. 

The user interface of the Custom Graphics Page has been significantly improved.  We also created three custom graphics for users to quickly replace the default SnapCasa images without having to create custom graphics themselves.  More graphics will be made available shortly.



I hope everyone enjoys the new admin page.  Feedback is always welcome!

Thanks,

Greg

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , , ,

SnapCasa.com

New Snapshot Update Admin Page

by SnapCasaFounder 7. January 2009 03:14

Last month I introduced the new Snapshot Update API which allows for Premium users to update snapshots on demand.  This month I am happy to introduce a new admin page which allows both Basic and Premium users to update snapshots using a simple form.  The Update Snapshot page is fairly self explanatory.  Simply input a URL to update in the text box and it will be updated immediately.  I hope you enjoy and find this new page to be useful.  Feedback and comments are always greatly appreciated!

Currently rated 5.0 by 3 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

SnapCasa.com

Determine Snapshot Request Status Using Headers

by SnapCasaFounder 6. January 2009 02:09

Many developers making requests to SnapCasa require a way to check the status of their request so that their application may respond accordingly.  SnapCasa provides a simple way to accomplish this.  For each snapshot request SnapCasa will respond with a custom header with a key of ‘snapshot-status’. This header contains the status of the request with four possible numeric values outlined below:

0 - Processing/Queued
1 - Available/Captured
2 - Unavailable
3 - Invalid Request

As always, if you have any questions about this feature please contact me directly using the Contact Page on SnapCasa.com.

Currently rated 5.0 by 4 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , , ,

SnapCasa.com

Powered by BlogEngine.NET 1.4.5.0
Theme by Mads Kristensen