Skip to content
This repository was archived by the owner on Feb 4, 2022. It is now read-only.

isoung/eyeq_metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

About

Wrapper over the eyeq_metadata apis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages