{"analyzedAt":"2022-07-05T22:07:53.769Z","collected":{"metadata":{"name":"@spacepumpkin/modified-nyaapi","scope":"spacepumpkin","version":"2.3.4","description":"Non-official api for getting torrent links from Nyaa.si and Nyaa.pantsu.cat","keywords":["kawanime","nyaa-si","nyaa-pantsu","torrent","magnet-links"],"date":"2021-02-02T16:21:41.497Z","author":{"name":"Kylart"},"publisher":{"username":"drspacepumpkin","email":"jack@reevies.tech"},"maintainers":[{"username":"drspacepumpkin","email":"jack@reevies.tech"}],"repository":{"type":"git","url":"git+https://github.com/Kylart/Nyaapi.git"},"links":{"npm":"https://www.npmjs.com/package/%40spacepumpkin%2Fmodified-nyaapi","homepage":"https://github.com/Kylart/Nyaapi#readme","repository":"https://github.com/Kylart/Nyaapi","bugs":"https://github.com/Kylart/Nyaapi/issues"},"license":"MIT","dependencies":{"@spacepumpkin/proxy-gateway":"^1.210202.2","cheerio":"^1.0.0-rc.3","lodash.omit":"^4.5.0","request":"^2.88.0","request-promise":"^4.2.5"},"devDependencies":{"ava":"^2.4.0","cloc":"^2.5.0","codecov":"^3.6.1","colors":"^1.4.0","nyc":"^14.1.1","pre-commit":"^1.2.2","snazzy":"^8.0.0","standard":"^14.3.1"},"releases":[{"from":"2022-06-05T00:00:00.000Z","to":"2022-07-05T00:00:00.000Z","count":0},{"from":"2022-04-06T00:00:00.000Z","to":"2022-07-05T00:00:00.000Z","count":1},{"from":"2022-01-06T00:00:00.000Z","to":"2022-07-05T00:00:00.000Z","count":1},{"from":"2021-07-05T00:00:00.000Z","to":"2022-07-05T00:00:00.000Z","count":1},{"from":"2020-07-05T00:00:00.000Z","to":"2022-07-05T00:00:00.000Z","count":3}],"hasTestScript":true,"readme":"<h1 align=\"center\">Nyaapi 2.0</h1>\r\n\r\n<p align=\"center\">\r\n  <a href=\"http://forthebadge.com/\" target=\"_blank\">\r\n    <img src=\"http://forthebadge.com/images/badges/built-with-love.svg\"/>\r\n  </a>\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <a href=\"https://standardjs.com/\" target=\"_blank\">\r\n    <img src=\"https://cdn.rawgit.com/feross/standard/master/badge.svg\" />\r\n  </a>\r\n</p>\r\n\r\n<p align=\"center\">\r\n  <a href=\"https://travis-ci.org/Kylart/Nyaapi\" target=\"_blank\">\r\n    <img src=\"https://travis-ci.org/Kylart/Nyaapi.svg?branch=master\" alt=\"Build Status\">\r\n  </a>\r\n  <a href=\"https://codecov.io/gh/Kylart/Nyaapi\" target=\"_blank\">\r\n    <img src=\"https://codecov.io/gh/Kylart/Nyaapi/branch/master/graph/badge.svg\" alt=\"Codecov\" />\r\n  </a>\r\n  <a href=\"https://opensource.org/licenses/MIT\" target=\"_blank\">\r\n    <img src=\"https://img.shields.io/badge/License-MIT-blue.svg\" alt=\"License\">\r\n  </a>\r\n</p>\r\n\r\nThis is an api allowing one to:\r\n* gather torrents directly from [nyaa.si](https://nyaa.si) and [nyaa.pantsu.cat](https://nyaa.pantsu.cat) in about a second or less.\r\n* upload a torrent to any nyaa.\r\n* check a user's profile and torrents.\r\n* So many things you should check the wiki to understand better.\r\n\r\n__All the documentation there is to know about how to use Nyaapi is located in the [wiki](https://github.com/Kylart/Nyaapi/wiki).__\r\n\r\nAny contribution is welcomed.\r\n\r\n# Install\r\n```\r\nnpm install --save nyaapi\r\n```\r\n\r\n# Use\r\nNyaapi is organised with `si` methods and `pantsu` methods.\r\nYou can access either of them like so:\r\n```javascript\r\nconst {si, pantsu} = require('nyaapi')\r\n\r\nconsole.log(si)\r\n/**\r\n * [Si] methods:\r\n *   > list\r\n *   > search\r\n *   > searchAll\r\n *   > searchPage\r\n *   > searchByUser\r\n *   > searchAllByUser\r\n *   > searchByUserAndByPage\r\n *   > infoRequest\r\n *   > upload\r\n * \r\n */\r\nconsole.log(pantsu)\r\n/**\r\n * [Pantsu] methods:\r\n *   > list\r\n *   > search\r\n *   > searchAll\r\n *   > infoRequest\r\n *   > upload\r\n *   > update\r\n *   > login\r\n *   > checkUser\r\n *   > checkHeader\r\n * \r\n */\r\n```\r\n\r\nIt is important to know that all the pantsu methods are fully based on [the offcial api of nyaa.pantsu.cat](https://nyaa.pantsu.cat/apidoc).\r\n\r\n> For a complete documentation, please check out the [wiki](https://github.com/Kylart/Nyaapi/wiki) for a tour of all the methods and how to use them."},"npm":{"downloads":[{"from":"2022-07-04T00:00:00.000Z","to":"2022-07-05T00:00:00.000Z","count":0},{"from":"2022-06-28T00:00:00.000Z","to":"2022-07-05T00:00:00.000Z","count":0},{"from":"2022-06-05T00:00:00.000Z","to":"2022-07-05T00:00:00.000Z","count":2},{"from":"2022-04-06T00:00:00.000Z","to":"2022-07-05T00:00:00.000Z","count":21},{"from":"2022-01-06T00:00:00.000Z","to":"2022-07-05T00:00:00.000Z","count":46},{"from":"2021-07-05T00:00:00.000Z","to":"2022-07-05T00:00:00.000Z","count":147}],"starsCount":0}},"evaluation":{"quality":{"carefulness":0.33,"tests":0,"health":0,"branding":0},"popularity":{"communityInterest":0,"downloadsCount":7,"downloadsAcceleration":-0.12081430745814309,"dependentsCount":0},"maintenance":{"releasesFrequency":0.3113013698630137,"commitsFrequency":0,"openIssues":0,"issuesDistribution":0}},"score":{"final":0.07041945241828285,"detail":{"quality":0.20086796360358883,"popularity":0.002428979464391756,"maintenance":0.026596915784768818}}}