nyaa-api-v2

1.0.2 • Public • Published

Nyaa-api-v2 get new torrent from nyaa

Support npm: https://discord.gg/TfG5hep

npm i nyaa-api-v2
yarn add nyaa-api-v2
const nyaa_api = require("nyaa-api-v2");
 
nyaa_api.getNewTorrent().then(res => {
  console.log(res); // array, type json
  console.log(res[0]); // https://github.com/onepiecehung/nyaa-api/blob/master/data.json
  console.log(res.length); // 75
});

API

getNewTorrentR18(): get content R-18 from nyaa.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    4
  • 1.0.1
    2
  • 1.0.0
    2

Package Sidebar

Install

npm i nyaa-api-v2

Weekly Downloads

6

Version

1.0.2

License

ISC

Unpacked Size

3.91 kB

Total Files

5

Last publish

Collaborators

  • ds112