Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tbeseda/tvrage
A Node.js module to connect to tvrage.com's API.
https://github.com/tbeseda/tvrage
Last synced: 5 days ago
JSON representation
A Node.js module to connect to tvrage.com's API.
- Host: GitHub
- URL: https://github.com/tbeseda/tvrage
- Owner: tbeseda
- Created: 2012-09-08T01:09:25.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2013-04-03T00:17:10.000Z (over 11 years ago)
- Last Synced: 2024-04-15T02:57:47.494Z (7 months ago)
- Language: CoffeeScript
- Homepage:
- Size: 133 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tvrage
### Search and retrieve television data from TVRAGE```coffeescript
tvrage = require './tvrage'tv = new tvrage.Proxy()
tv.findOne 'alias', (err, show) ->
console.log 'findOne for "alias":'
cosnole.log "#{show.name}: #{show.network}, #{show.status}" # Alias: ABC, Canceled/Ended
console.log show.genres # [ 'Action', 'Adventure', 'Drama' ]
console.log show.akas[0] # { name: 'A Vingadora', country: 'PT' }tv.fullShowInfo 3548, (err, show) ->
console.log show.seasons.length, 'seasons of Firefly' # 1 season of Fireflytv.search 'battlestar', (err, results) ->
console.log "#{results.length} results for 'battlestar' search" # 5 results...
console.log results[0]
```See `usage.coffee` and the tests for more examples.