ts-npm-ytmusic-api/docs/guides/usage/getArtistAlbums.md

12 lines
328 B
Markdown

# Getting an artist's albums
`getArtistAlbums()` will fetch you information about a specific artist's albums by it's ID.
```ts
ytmusic.getArtistAlbums("UCTUR0sVEkD8T5MlSHqgaI_Q").then(artistAlbums => {
console.log(artistAlbums)
})
```
See the [reference](../../references/ytmusic/getArtistAlbums.html) for more information.