/ur-product

API wrapper for the Utbildningsradion product services.

Primary LanguageRubyMIT LicenseMIT

UR::Product

API wrapper for the Utbildningsradion product services.

Installation

gem install ur-product

Related Resources (in Swedish)

Example usage

Find

require 'ur-product'
product = UR::Product.find(100001)

Search

require 'ur-product'
UR::Product.search({
  :queries => 'samtid',
  :filters => { :search_product_type => 'programtv' },
  :page => 1,
  :per_page => 5,
  :publicstreaming => 'NOW'
})

Dependencies