Name: chilling_effects
Owner: Kickstarter
Description: A Ruby gem to interact with the Chilling Effects API
Created: 2015-07-07 12:48:45.0
Updated: 2017-07-13 18:56:56.0
Pushed: 2017-07-13 18:59:30.0
Homepage: null
Size: 64
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A Ruby Gem for interacting with the Chilling Effects notice API
gem install chilling_effects
or via Bundler, add to your Gemfile
:
gem 'chilling_effects'
lingEffects.token = "MY SUPER SECRET TOKEN"
lingEffects.server = "http://localhost:8000"
lingEffects.topics
{:id=>1, :name=>"Chilling Effects", :parent_id=>nil},
d=>3, :name=>"Fan Fiction", :parent_id=>nil},
d=>4, :name=>"References", :parent_id=>nil},
d=>5, :name=>"Copyright", :parent_id=>nil},
d=>6, :name=>"Trademark", :parent_id=>nil},
d=>7, :name=>"Bookmarks", :parent_id=>nil},...]
lingEffects::Notice.find(300000497)
:topic_ids=>[],
tity_notice_roles_attributes=>[],
le_uploads_attributes=>[],
pics=>["Chilling Effects", "Right of Publicity", "E-Commerce Patents"],
rks_attributes=>
:infringing_urls_attributes=>
[{:url=>"http://example.com/bad/url_88"},
{:url=>"http://example.com/bad/url_87"},...]
pyrighted_urls_attributes=>[{:url=>"http://example.com/original_work/url_0"}],
scription=>"Batman Video"}],
risdiction_list=>["JP"],
=>300000497,
pe=>"Dmca",
tle=>"Batman",
dy=>nil,
te_sent=>"2014-05-26T18:09:50Z",
te_received=>"2014-06-16T18:09:50Z",
nder_name=>"Joe Lawyer",
incipal_name=>"Steve Simpson",
cipient_name=>"Google",
gs=>["snakes", "disney", "movie"],
tion_taken=>nil,
nguage=>"ht"}
= ChillingEffects::Work.new({
ind => "Software",
escription => "Some awesome thing",
opyrighted_urls => [
:url => "http://foo.com"
nfringing_urls => [
:url => "http://bar.com"
ce = ChillingEffects::Notice.new({
itle => "Foo Notice",
ype => "Dmca",
opic_ids => [1,2,3],
orks => [ work ]
ce.submit
For more information, see The Chilling Effects API Documentation