API 1.11: automated hosting
In an effort to make our API even easier to use, we added the possibility to request a screenshot, create a thumbnail, and host it on S3 (Amazon), Browshot or CDN with a single API call.
First, make sure S3, Browshot or CDN hosting is enabled for your account (send us an e-mail). Then, add the following parameters to your screenshot request:
- hosting: the hosting option your choose
- hosting_width and hosting_height (optional): the maximum width and height of the thumbnail to host
- file (optional) and bucket name for S3 hosting
All of the details are on the API documentation page. You can use any of the open-source libraries we provide to use the new options.