0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Request Gracenote EyeQ metadata using the eyeq api
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 3.5.0
>= 0.41.1
>= 2.1.0

Runtime

>= 2.4.2
 Project Readme

#eyeq_metadata

##Installation

gem install eyeq_metadata

##Usage

require 'eyeq_metadata'

eyeq = EyeQ.new(clientid, clientid_tag)
# optional option logging = false/true(default). EyeQ.new(clientid, clientid_tag, logging: false)
# Disabling logging may cause some unintended consequences to other portions of your script/app.
response.request(query_type: 'tvchannel_fetch', gnid: '123-456-789')
# returns a Nokogiri::XML object that contains the response from eyeq

# list of supported searches
# ----------------------- EPG
# tvchannel_fetch               - :gnid
# tvchannel_lookup_by_provider  - :gnid
# tvprovider_na                 - :zipcode
# tvprovider_or                 - :tvregion
# tvprogram_fetch               - :gnid
# tvgrid_search                 - :program_title & :tvchannel_gnid (optional :date_start & :date_end)
# tvgrid_lookup                 - :tvchannel_gnid (optional :date_start & :date_end)
# ----------------------- VIDEO
# avwork_fetch                  - :gnid

##Navigating Nokogiri::XML objects Nokogiri Docs

response.css('RESPONSES')
#returns all RESPONSES from Nokogiri::XML

##Contributing Feel free to create a pull request!

  # installing gem requirements
  bundle install