Skip to content

andreipopovici/getty_up

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Gem for using Getty Connect API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 95.0%
  • JavaScript 2.7%
  • CSS 2.3%