Project

getty_up

0.0
No commit activity in last 3 years
No release in over 3 years
Getty connect gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

= 2.1.0
~> 3.2.11
 Project Readme

GettyUp!

Example

getty = GettyUp::Client.new
getty.create_session
results = getty.search_for_images('tree', 1)

Usage

Create an initializer (or pass the settings into Client.new):

GettyUp.configure do |config|
  config.system_id = 'xxx'   
  config.system_password = 'xxx'
  config.api_username = 'xxx'
  config.api_password = 'xxx'
end

Use the available methods to interact with the API, methods currently available are:

create_download_request
create_session
get_image_details
get_largest_image_download_authorization
renew_session
search_for_images

Acknowledgment

This gem is inspired by the twitter gem and the example code provided by Getty.

This gem could use plenty of changes/updates - feel free to contribute.