0.0.2 • Published 8 years ago
oneom v0.0.2
oneom-node
Node API for getting TV series/schedule/torrent info
installation
npm i oneomAPI
list ⇒ Promise
List Tv Shows
Kind: global constant
| Param | Type | Description |
|---|---|---|
| offset | Number | start page (default: 0) |
| limit | Number | page-size (default: 100) |
show ⇒ Promise
Get extended info about a show, by ID
Kind: global constant
| Param | Type | Description |
|---|---|---|
| id | Number | ID, as returned by list() |
episode ⇒ Promise
Get extended info about an episode
Kind: global constant
| Param | Type | Description |
|---|---|---|
| id | Number | ID, as returned by list() or show() |
search ⇒ Promise
Search for Tv show by title
Kind: global constant
| Param | Type | Description |
|---|---|---|
| query | String | Tv show title to seaarch for |
| field | String | Field 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) |
| limit | Number | Number 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
| Param | Type | Description |
|---|---|---|
| date | Date | String (format: YYYY-MM-DD) or Date-object |
config ⇒ Promise
Get config data, like lang list, source, country and such
Kind: global constant
0.0.2
8 years ago