Ruby wrapper for CloudConvert
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib callback url code refactoring May 15, 2014
.gitignore callback url code refactoring May 15, 2014
Gemfile require other gem fix Nov 12, 2013
LICENSE.txt initial commit Nov 5, 2013 Update May 15, 2014
Rakefile initial commit Nov 5, 2013
cloudconvert.gemspec hash merge fix Nov 12, 2013


Ruby wrapper for CloudConvert CloudConvert


Add this line to your application's Gemfile:

gem 'cloudconvert'

And then execute:

$ bundle

Or install it yourself as:

$ gem install cloudconvert


This is a Ruby wrapper for Cloud Convert where you can convert files from one format to another format.

Configure CloudConvert

Cloudconvert.configure do |config|
	config.api_key  = your_api_key
	config.callback = callback_url

In this if you specify callback_url then you will be notified on file conversion completion

Start a Conversion on Cloud convert

conversion =

# to start file conversion (options & callback_url parameters are optional)
# for versions <=0.0.4
conversion.convert(inputformat, outputformat, file_path, options)

# for versions >=0.0.5 (callback_url passing enabled for each conversion)
conversion.convert(inputformat, outputformat, file_path, callback_url, options)

# options parameter is Conversion type specific options , which you can get from, 
conversion.converter_options(inputformat, outputformat)
#it will return all possible conversion types and possible options(inputformat and outputformat are optional)

# to list all conversions

# to cancel conversion 											  

# to delete conversion										  

# to get download link of completed conversion

# to get current status of conversion


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request