Home > Code > ur-product

ur-product

API wrapper for the Utbildningsradion product services. (search, metadata and assets)

Installation

sudo gem install ur-product

Example usage

Find

UR::Product.find(100001)

Search

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

Source

The code is available on GitHub: http://github.com/c7/ur-product/

I’m more than happy to take feature requests/bug reports. Just email me (peter@c7.se) or contact me on GitHub.

License

This code is free to use under the terms of the MIT license.