C# Library

The source code is available on GitHub. The latest version of the documentation is also on GitHub.

The library comes as a Visual Studio 2012 project and works with the free Visual Studio Express 2012. You can look at the unit tests for code samples.

This is an alpha release. We will make big changes to the libraries to improve its ease of use.

using Browshot;

BrowshotClient browshot =  new BrowshotClient("API_KEY");

Hashtable arguments = new Hashtable();
arguments.Add("cache", 8600);
Dictionary<string, object> result = browshot.ScreenshotCreate("http://www.google.com/", arguments);



if (result != Null && result["status"].ToString() == "ok")
{
    string id = result["id"].ToString()
    Image thumbnail = browshot.Thumbnail(int.Parse(id), null);
}
Try it for free

close

sign up for free account

Already have an account?

no credit card required

About Us

Browshot is a web service to create real time web screenshots in a multitude of virtual devices, including mobile devices like the iPhone 3 & 4, iPad, Android Nexus, etc.

You can use the web dashboard, or our full-featured API.

  • Real time screenshots

  • 15+ mobile devices: iPhone, iPad, Android, etc.

  • 30+ desktop resolutions

  • Fast and reliable

  • Thumbnails of any size, any ratio

  • Full API, open-source libraries

Share