This class handles all communication with the GrabzIt screenshot web services.
This method returns the screenshot itself. If nothing is returned then something has gone wrong or the screenshot is not ready yet.
Specifiy the URL of the online video that should be converted into a animated GIF.
void
All of the options available when creating an animated GIF.
{ 'width':250, 'height':250, 'speed':2 }
Specifies the URL that should be converted into a image screenshot.
Specifies the HTML that should be converted into a image.
Specifies a HTML file that should be converted into a image.
All of the options available when creating image captures.
{ 'width':500, 'height':500 }
Specifies the URL that should be converted into rendered HTML.
Specifies the HTML that should be converted into rendered HTML.
Specifies a HTML file that should be converted into rendered HTML.
All of the options available when creating rendered HTML captures.
{ 'country':'SG', 'delay':5000 }
Specifies the URL that should be converted into a PDF.
Specifies the HTML that should be converted into a PDF.
Specifies a HTML file that should be converted into a PDF.
All of the options available when creating PDF captures.
{ 'pagesize':'A5', 'includeLinks':true }
Specifies the URL that should be converted into a DOCX.
Specifies the HTML that should be converted into a DOCX.
Specifies a HTML file that should be converted into a DOCX.
All of the options available when creating DOCX captures.
Specifies the URL that the HTML tables should be extracted from.
Specifies the HTML that the HTML tables should be extracted from.
Specifies a HTML file that the HTML tables should be extracted from.
All of the options available when converting HTML tables to CSV, XLSX or JSON.
{ 'format':'xlsx', 'includeHeaderNames':true }
Save the result asynchronously and returns a unique identifier, which can be used to get the screenshot with the get_result method.
Save the result synchronously without using a callback URL.
Get the current status of a GrabzIt screenshot.
Get all the cookies that GrabzIt is using for a particular domain. This may include user defined cookies as well.
Sets a new custom cookie on GrabzIt, if the custom cookie has the same name and domain as a global cookie the global cookie is overridden.
This can be useful if a websites functionality is controlled by cookies.
{ 'value':'me@example.com', 'httponly':false }
Delete a custom cookie or block a global cookie from being used
Get all your uploaded custom watermarks
Return your custom watermark that matches the specified identifier
Add a new custom watermark
Delete a custom watermark
This method enables a local proxy server to be used for all requests.
Specifies if requests to GrabzIt's API should use SSL
Create a cryptographically secure base 64 encryption key, 44 characters long.
Decrypt an encrypted capture using the provided encryption key.
The class representing the current status of the screenshot.
This class represents the custom watermarks stored in GrabzIt