# tvrage

> Interface for the TVRage API

Latest version **0.0.2** (published 2013-04-03) · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install tvrage
pnpm add tvrage
yarn add tvrage
bun add tvrage
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2013-04-03 |
| First published | 2012-09-11 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.10.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+2 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Taylor Beseda |
| Maintainers | tbeseda |
| Keywords | tv, tvrage, ratings |

## Links

- npm: https://www.npmjs.com/package/tvrage
- Repository: git@github.com:tbeseda/tvrage
- npm.io page: https://npm.io/package/tvrage

## Dependencies (2)

- [xml2js](https://npm.io/package/xml2js.md) 0.2.6
- [superagent](https://npm.io/package/superagent.md) 0.14.0

## Recent versions

- 0.0.2 (latest) — 2013-04-03
- 0.0.1 — 2012-09-11

## 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 Firefly

tv.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.

---
_Source: https://npm.io/package/tvrage · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
