Search
Preparing search index...
The search index is not available
niconico
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
Nicovideo
Class Nicovideo
Hierarchy
EventEmitter
Nicovideo
Index
Constructors
constructor
Properties
default
Max
Listeners
Methods
add
Listener
download
emit
event
Names
get
Max
Listeners
http
Export
listener
Count
listeners
off
on
once
prepend
Listener
prepend
Once
Listener
raw
Listeners
remove
All
Listeners
remove
Listener
set
Max
Listeners
thumbinfo
watch
listener
Count
Constructors
constructor
new
Nicovideo
(
cookieJar
:
CookieJar
)
:
Nicovideo
Parameters
cookieJar:
CookieJar
Returns
Nicovideo
Properties
Static
default
Max
Listeners
default
Max
Listeners
:
number
Methods
add
Listener
add
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
download
download
(
videoID
:
string
, targetPath
:
string
)
:
Promise
<
string
>
Parameters
videoID:
string
targetPath:
string
Returns
Promise
<
string
>
emit
emit
(
event
:
string
|
symbol
,
...
args
:
any
[]
)
:
boolean
Parameters
event:
string
|
symbol
Rest
...
args:
any
[]
Returns
boolean
event
Names
event
Names
(
)
:
Array
<
string
|
symbol
>
Returns
Array
<
string
|
symbol
>
get
Max
Listeners
get
Max
Listeners
(
)
:
number
Returns
number
http
Export
http
Export
(
uri
:
string
, targetPath
:
string
)
:
Promise
<
string
>
Parameters
uri:
string
targetPath:
string
Returns
Promise
<
string
>
listener
Count
listener
Count
(
type
:
string
|
symbol
)
:
number
Parameters
type:
string
|
symbol
Returns
number
listeners
listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
off
off
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
on
on
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
once
once
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
prepend
Listener
prepend
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
prepend
Once
Listener
prepend
Once
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
raw
Listeners
raw
Listeners
(
event
:
string
|
symbol
)
:
Function
[]
Parameters
event:
string
|
symbol
Returns
Function
[]
remove
All
Listeners
remove
All
Listeners
(
event
?:
string
|
symbol
)
:
this
Parameters
Optional
event:
string
|
symbol
Returns
this
remove
Listener
remove
Listener
(
event
:
string
|
symbol
, listener
:
function
)
:
this
Parameters
event:
string
|
symbol
listener:
function
(
...
args
:
any
[]
)
:
void
Parameters
Rest
...
args:
any
[]
Returns
void
Returns
this
set
Max
Listeners
set
Max
Listeners
(
n
:
number
)
:
this
Parameters
n:
number
Returns
this
thumbinfo
thumbinfo
(
videoID
:
string
)
:
Promise
<
IThumbinfo
>
Parameters
videoID:
string
Returns
Promise
<
IThumbinfo
>
watch
watch
(
videoID
:
string
)
:
Promise
<
IWatchData
>
Parameters
videoID:
string
Returns
Promise
<
IWatchData
>
Static
listener
Count
listener
Count
(
emitter
:
EventEmitter
, event
:
string
|
symbol
)
:
number
deprecated
since v4.0.0
Parameters
emitter:
EventEmitter
event:
string
|
symbol
Returns
number
Globals
Nicovideo
constructor
default
Max
Listeners
add
Listener
download
emit
event
Names
get
Max
Listeners
http
Export
listener
Count
listeners
off
on
once
prepend
Listener
prepend
Once
Listener
raw
Listeners
remove
All
Listeners
remove
Listener
set
Max
Listeners
thumbinfo
watch
listener
Count
IAd
IComment
Composite
IContext
IIds
IItem
ILead
ILive
Topics
IMain
Community
IOwner
IOwnerNGList
IPlayer
IPlaylist
ISmile
Info
ITag
ITag
Related
Banner
ITag
Related
Marquee
IThread
IThumbinfo
IVideo
IViewer
IWatch
Data
login
Generated using
TypeDoc
since v4.0.0