Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
ruby api client for communicating with OpenIMP's API, as used by Consilidated Independent
Ruby
branch: master

This branch is 10 commits behind mediasp:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
.gitignore
Gemfile
README.md
Rakefile
ci-api.gemspec

README.md

OpenIMP API Client

Client for communicating with OpenIMP APIs, such as that used by Consolidated Independent.

Hello, World

require 'ci-api'

client = CI::Client.new('http://api.cissme.com/media/v1', {
  :username => 'mediaman',  :password => 'secretzzz'})

release_by_uri = client.get('/release/upc/012345678')
puts release_by_uri.inspect

release_repo = CI::Repository::Release.new(client)
release_by_find = release_repo.find(:upc => '012345678')
puts release_by_find.inspect
Something went wrong with that request. Please try again.