# -*- coding: utf-8 -*-

from browshot import BrowshotClient

browshot = BrowshotClient('my_api_key')


instances = browshot.instance_list()

# Check the list of free browser
print "Free browsers:"
for instance in instances['free']:
  print "\t#" + instance['id'] + ": " + instance['browser']['name'] + " ", instance['width'] + "x" + instance['height']