The Screengrab webservice allows the user to fetch screengrab images of a given URL, with the images returned as a PNG.
The webservice endpoint can be found at [DOMAIN]/api/screengrab/1.0/getscreengrab
This API requires authentication with a username and password.
Arguments can be passed in via GET or POST. The following arguments are avialable
url: (REQUIRED) The URL to be screengrabbed
width: The width of the image to be returned. Screengrabs will be scaled to fit.
height: The width of the image to be returned. Screengrabs will be cropped from the bottom to fit.
viewportwidth: The browser width to be used to fetch the screen grab. this allows us to fetch desktop, tablet or mobile style sreengrabs.
viewportheight: The browser height to be used to fetch the screen grab. this allows us to fetch desktop, tablet or mobile style sreengrabs.
refresh: Screengrab images are cached for performance reasons. Setting refresh to true force the APi to fecth a new image and refresh the cache.