@antoniojps/youtubei.js
Version:
A JavaScript client for YouTube's private API, known as InnerTube.
20 lines • 759 B
JavaScript
import { Parser } from '../index.js';
import { InnertubeError } from '../../utils/Utils.js';
import AccountSectionList from '../classes/AccountSectionList.js';
export default class AccountInfo {
contents;
constructor(response) {
this.
if (!this.
throw new InnertubeError('Page contents not found');
const account_section_list = this.
if (!account_section_list)
throw new InnertubeError('Account section list not found');
this.contents = account_section_list.contents[0];
}
get page() {
return this.
}
}
//# sourceMappingURL=AccountInfo.js.map