Search
Preparing search index...
The search index is not available
nyaasi-api by ejnshtein - v3.1.3
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"src/Nyaa"
Nyaa
Class Nyaa
Hierarchy
Nyaa
Index
Constructors
constructor
Properties
agent
options
rss
Methods
get
Torrent
Anonymous
search
get
Torrent
Anonymous
search
Constructors
constructor
new
Nyaa
(
options
?:
AgentOptions
)
:
Nyaa
Parameters
Default value
options:
AgentOptions
= {}
Returns
Nyaa
Properties
agent
agent
:
Agent
options
options
:
AgentOptions
rss
rss
:
NyaaRss
Methods
get
Torrent
Anonymous
get
Torrent
Anonymous
(
id
:
number
, args
?:
GetTorrentOptions
, options
?:
NyaaRequestOptions
<
"text"
>
)
:
Promise
<
ViewTorrent
>
Parameters
id:
number
Default value
args:
GetTorrentOptions
= { withComments: false }
Default value
options:
NyaaRequestOptions
<
"text"
>
= {}
Returns
Promise
<
ViewTorrent
>
search
search
(
query
:
string
|
SearchQuery
, options
?:
NyaaRequestOptions
<
"text"
>
)
:
Promise
<
SearchResult
>
Parameters
query:
string
|
SearchQuery
Default value
options:
NyaaRequestOptions
<
"text"
>
= {}
Returns
Promise
<
SearchResult
>
Static
get
Torrent
Anonymous
get
Torrent
Anonymous
(
id
:
number
, args
?:
GetTorrentOptions
, options
?:
NyaaRequestOptions
<
"text"
>
)
:
Promise
<
ViewTorrent
>
Parameters
id:
number
Default value
args:
GetTorrentOptions
= { withComments: false }
Default value
options:
NyaaRequestOptions
<
"text"
>
= {}
Returns
Promise
<
ViewTorrent
>
Static
search
search
(
query
:
string
|
SearchQuery
, options
?:
NyaaRequestOptions
<
"text"
>
)
:
Promise
<
SearchResult
>
Parameters
query:
string
|
SearchQuery
Default value
options:
NyaaRequestOptions
<
"text"
>
= {}
Returns
Promise
<
SearchResult
>
Globals
"src/
Agent"
"src/
Nyaa"
"src/
Nyaa
Rss"
"src/
Scraper"
"src/index"
"src/lib/deepmerge"
"src/lib/get-
params"
"types/agent.d"
"types/awaited.d"
"types/categories.d"
"types/cheerio.d"
"types/domhandler.d"
"types/index.d"
"types/nyaa.d"
Nyaa
constructor
agent
options
rss
get
Torrent
Anonymous
search
get
Torrent
Anonymous
search
Default
Options
Generated using
TypeDoc