Skip to content

gov360/animoto_quickstart_upload_client-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABOUT

This is a small Ruby client (gem) to communicate with the Animoto Quickstart Upload API.

REQUIREMENTS

You must be a registered Animoto affiliate and an authorized client of the Quickstart Upload API. You will need both your affiliate referral code and Upload API secret key.

USAGE

To obtain resource links from the API:

client = Animoto::QuickstartUploadClient.new(AFFILIATE_REFERRAL_CODE, SECRET_KEY)
links = client.get_resource_links("jpg", 5)

This will obtain 5 resource urls to upload .jpg files to Animoto.com

To just generate a signature that is used to sign all requests to all API calls to obtain resource URLs:

client = Animoto::QuickstartUploadClient.new(AFFILIATE_REFERRAL_CODE, SECRET_KEY)
signature = client.generate_signature(:client_id => 'test', :n => 3, :type => 'gif')

MORE INFORMATION

About

动话表情快速入门上传客户端 Animoto Quickstart Upload Client

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%