Languify

Code Examples

The Languify API uses simple HTTP requests and provide basic XML responses therefore it is possible to interact with it in any language. We built Languify using Rails but we strongly encourage everyone to use it with their environment of choice. Please submit your examples to examples@languify.com.

Ruby on Rails

Using ActiveResource in Edge Rails makes interacting with the Languify API easy as pie.

class Project < ActiveResource::Base
  self.site = 'http://you%40domain.com:password@languify.com/'
end

project = Project.find(:first) # => Array of all your projects
project.keys.each {|key| p key.name } # => Print the names of all the keys in a project