0.0.2 • Published 7 years ago

oneom v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

oneom-node

Node API for getting TV series/schedule/torrent info

installation

npm i oneom

API

list ⇒ Promise

List Tv Shows

Kind: global constant

ParamTypeDescription
offsetNumberstart page (default: 0)
limitNumberpage-size (default: 100)

show ⇒ Promise

Get extended info about a show, by ID

Kind: global constant

ParamTypeDescription
idNumberID, as returned by list()

episode ⇒ Promise

Get extended info about an episode

Kind: global constant

ParamTypeDescription
idNumberID, as returned by list() or show()

search ⇒ Promise

Search for Tv show by title

Kind: global constant

ParamTypeDescription
queryStringTv show title to seaarch for
fieldStringField to search by: title, network_id, country_id, genre_id, lang_id, people_id, character_id, tvrage_id, tvmaze_id, mdb_id, tvdb_id, status_id, runtime, start, end (default: title)
limitNumberNumber of results to return (default: 5)

fresh ⇒ Promise

Fresh eps with torrents

Kind: global constant

schedule ⇒ Promise

Get Tv Schedule for date

Kind: global constant

ParamTypeDescription
dateDateString (format: YYYY-MM-DD) or Date-object

config ⇒ Promise

Get config data, like lang list, source, country and such

Kind: global constant