Sha256: b8d13c4d03e8a911100854255331c7fbbaf5aff3c75a8ebafb3dc278d8b3aea3
Contents?: true
Size: 580 Bytes
Versions: 1
Compression:
Stored size: 580 Bytes
Contents
require "pp" require_relative "ConnectSDK" api_key = "api key" api_secret = "api secret" # Example of Connect SDK connectSdk = ConnectSdk.new(api_key, api_secret) search_results = connectSdk.search().images().creative() .with_phrase("gorilla") .with_response_fields(["id","title"]) .with_graphical_styles("illustration") .with_graphical_styles(["fine_art","photography"]) .with_page(2) .with_page_size(5) .execute() search_results["images"].each do | image | puts "Id: #{image["id"]} Title: #{image["title"]}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ConnectSDK-1.0.2.Beta | lib/Example.rb |