youtubei.js / Managers / AccountManager
Class: AccountManager
Constructors
new AccountManager()
new AccountManager(
actions
):AccountManager
Parameters
• actions: Actions
Returns
Defined in
src/core/managers/AccountManager.ts:23
Properties
channel
channel:
object
editDescription()
editDescription: (
new_description
) =>Promise
<ApiResponse
>
Parameters
• new_description: string
Returns
Promise
<ApiResponse
>
editName()
editName: (
new_name
) =>Promise
<ApiResponse
>
Parameters
• new_name: string
Returns
Promise
<ApiResponse
>
getBasicAnalytics()
getBasicAnalytics: () =>
Promise
<Analytics
>
Returns
Promise
<Analytics
>
Defined in
src/core/managers/AccountManager.ts:17
Methods
getAnalytics()
getAnalytics():
Promise
<Analytics
>
Retrieves basic channel analytics.
Returns
Promise
<Analytics
>
Deprecated
This method is deprecated and will be removed in a future release.
Defined in
src/core/managers/AccountManager.ts:113
getInfo()
getInfo():
Promise
<AccountInfo
>
Retrieves channel info.
Returns
Promise
<AccountInfo
>
Defined in
src/core/managers/AccountManager.ts:70
getSettings()
getSettings():
Promise
<Settings
>
Opens YouTube settings.
Returns
Promise
<Settings
>
Defined in
src/core/managers/AccountManager.ts:100
getTimeWatched()
getTimeWatched():
Promise
<TimeWatched
>
Retrieves time watched statistics.
Returns
Promise
<TimeWatched
>
Deprecated
This method is deprecated and will be removed in a future release.