Browshot blog
This blog provides updates on the API and features offered by Browshot. Subscribe to our blog to stay up to date on the service.
May 9, 2013
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.
See more...
Apr 28, 2013
This past two months, we have been focused on making Browshot more reliable and faster. We have rolled out a lot of infrastructure upgrades and, this week-end, browser improvements.
The new Desktop browsers are much faster: better JavaScript performances, lower loading time, etc. The upgrade was seamless and invisible to users.
We have put a lot of efforts into making Browshot more reliable and even faster, especially during peak times. We have successfully handled over 600,000 API requests a day.
On of the big change is the possibility to do back-end upgrades without any downtime. This has allowed us to roll out many small improvements one by one rather than doing one big upgrade over the week-end.
See more...
Apr 8, 2013
You now have the option to execute any JavaScript within the page before taking a screenshot.
We have added a new parameter to the screenshot request API call, script, to specify the URL of a JavaScript file to load and execute. The file is loaded at the page load event and must execute within the delay requested. We have increased the maximum delay to 10 seconds, but the default value is still 5 seconds. Make sure you set delay=10 in your request.
You can run custom JavaScript to modify the page before the screenshot. One of our user needed to take a full page screenshot after scrolling down to the bottom of the page. Using the external file at http://browshot.com/static/js/custom/scrolldown.js, the screenshot request is:
https://api.browshot.com/api/v1/screenshot/create?url=http://www.browshot.com/&instance_id=65&delay=10&script=http://browshot.com/static/js/custom/scrolldown.js&size=page&key=my_key
You can use any URL to load the JavaScript, it does not have to be hosted on browshot.com.
acWe have posted another example on our website that shows how to hide the Facebook sign up box before taking a screenshot.
See more...
Feb 22, 2013
We provides libraries in C#, Ruby, Perl, Python and PHP for Browshot. The number one request was to use cURL instead of pecl-http for the PHP library. We're happy to announce that the latest version, Browshot-php 1.10.1 is finally using cURL to make HTTP requests. You can download the library from our website or from GitHub. There are also a few fixes for newer versions of PHP.
We have also added examples of bulk submissions in PHP.
See more...
Dec 16, 2012
We have updated all our mobile browsers. The changes are most visible for high-resolution mobile screens like the iPhone 5 and iPad. We are working on upgrading the Desktop browsers as well to support the latest HTML5 and CSS3 elements.
|
New tabs in the Dashboard |
We have added new sections to the Dashboard:
- Screenshots: the previous dashboard page (no change)
- Billing: history of all the credits bought or received fro free. You will also see the list of monthly subscriptions for private instances and custom projects.
- Custom Projects: one or more custom pages to support custom projects
- Search: search for previous screenshots. The search option was already present in the dashboard, but it is now more visible.
Several customers have asked us to write custom code running on the Browshot servers to meet their needs. We have updated our back-end to serve these customers better, and all new custom projects.
See more...