Skip to content

Latest commit

 

History

History
115 lines (76 loc) · 2.13 KB

account.md

File metadata and controls

115 lines (76 loc) · 2.13 KB

Account

YouTube account manager.

API

channel

Channel settings.

Returns: object

Methods & Getters

  • <channel>#editName(new_name)

    • Edits the name of the channel.
  • <channel>#editDescription(new_description)

    • Edits channel description.
  • <channel>#getBasicAnalytics()

getInfo()

Retrieves account information.

Returns: Promise.<AccountInfo>

Methods & Getters

  • <accountinfo>#page
    • Returns the original InnerTube response(s), parsed and sanitized.

getTimeWatched()

Retrieves time watched statistics.

Returns: Promise.<TimeWatched>

Methods & Getters

  • <timewatched>#page
    • Returns the original InnerTube response(s), parsed and sanitized.

getSettings()

Retrieves YouTube settings.

Returns: Promise.<Settings>

Methods & Getters

  • <settings>#selectSidebarItem(name)

    • Selects an item from the sidebar menu. Use settings#sidebar_items to see available items.
  • <settings>#getSettingOption(name)

    • Finds a setting by name and returns it. Use settings#setting_options to see available options.
  • <settings>#setting_options

    • Returns settings available in the page.
  • <settings>#sidebar_items

    • Returns options available in the sidebar menu.
  • <settings>#page

    • Returns the original InnerTube response(s), parsed and sanitized.

getAnalytics()

Retrieves basic channel analytics.

Returns: Promise.<Analytics>

Methods & Getters

  • <analytics>#page
    • Returns the original InnerTube response(s), parsed and sanitized.