()
| 124 | } |
| 125 | |
| 126 | public async getStatus(): Promise<PlexStatusResponse> { |
| 127 | return await this.get('/'); |
| 128 | } |
| 129 | |
| 130 | public async getLibraries(): Promise<PlexLibrary[]> { |
| 131 | const response = await this.get<PlexLibrariesResponse>('/library/sections'); |