Posted By

Maximus1983 on 08/09/12


Tagged

ruby free screenshot Gem take


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Priestd09


Capture Screenshots in Ruby


 / Published in: Ruby
 

URL: http://grabz.it/api/ruby/

Use this Gem to programmatically take screenshots of websites with this completely open source and free library. We have also provided easy to follow online tutorials and sample applications to help you set up GrabzIt as quickly as possible.

First run:

gem install grabzit

Then register a new account on http://grabz.it to get your application key and application secret.

Then use the code as shown below!

  1. require 'grabzitclient'
  2.  
  3. grabzItClient = GrabzItClient.new("YOUR APPLICATION KEY", "YOUR APPLICATION SECRET")
  4. grabzItClient.save_picture("http://www.google.com", "images/test.jpg")

Report this snippet  

You need to login to post a comment.