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

12 lines
321 B
Markdown

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