1.1.3 • Published 3 years ago

yify-api v1.1.3

Weekly downloads
10
License
MIT
Repository
github
Last release
3 years ago

yify-api

Build Status codecov Mutation testing badge Commitizen friendly GitHub npm type definitions npm bundle size GitHub All Releases GitHub release (latest by date) npm npm Snyk Vulnerabilities for npm package

This module is a JavaScript wrapper around the Yify Torrents api.

TypeScript

This module is written in TypeScript and provides the typings.

Usage

It works both on the web and node.

module

import { YifyService } from 'yify-api'

// apiBaseUrl defaults to: https://yts.lt/api/v2/
const yifyService = new YifyService()

yifyService.getMovies().then(movies => {
  // movies
})

commonjs

const yifyApi = require('yify-api')

const yifyService = new yifyApi.YifyService()

yifyService.getMovies().then(movies => {
  // movies
})
1.1.3

3 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

5 years ago

1.0.0

5 years ago