3.1.3 • Published 2 years ago
@ejnshtein/nyaasi v3.1.3
@ejnshtein/nyaasi
This is unofficial Nyaa.si website api wrapper.
Installation
npm i @ejnshtein/nyaasi
# or
yarn add @ejnshtein/nyaasi
Example
const { Nyaa } = require('@ejnshtein/nyaasi')
Nyaa.search({
title: 'Kotonoha no Niwa',
category: '1_2'
}).then(result => {
console.log(`Found ${result.torrents.length} torrents.`)
})
Nyaa.getTorrentAnonymous(890127)
.then(torrent => {
console.log(`Torrent is made by ${torrent.submitter.name}`)
console.log(`Stats: ${torrent.stats.seeders} seeders, ${torrent.stats.leechers} leechers and ${torrent.stats.downloaded} downloads.`)
console.log(`Magnet link: ${torrent.links.magnet}`)
})
API
API section is available on the website.
Contact
My telegram and a group where you can ask your questions or suggest something.
3.1.3
2 years ago
3.1.2
3 years ago
3.1.1
3 years ago
3.1.0
3 years ago
3.0.2
3 years ago
3.0.1
3 years ago
2.2.3
4 years ago
2.2.2
4 years ago
2.2.1
4 years ago
2.1.2
4 years ago
2.2.0
4 years ago
2.1.1
4 years ago
2.1.3
4 years ago
2.1.0
4 years ago
2.0.1
4 years ago
2.0.0
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago