Skip to content

Commit

Permalink
Add get album by identifier endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
stevesoltys committed Oct 21, 2020
1 parent e3dbc55 commit 9295a1b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/kotlin/com/stevesoltys/applemusic/AppleMusic.kt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ class AppleMusic(
return call(appleMusicService.getArtistById(id))
}

/**
* Get an album.
*/
fun getAlbumById(id: String): AlbumResponse {
return call(appleMusicService.getAlbumById(id))
}

/**
* Get albums for a given artist.
*/
Expand Down

0 comments on commit 9295a1b

Please sign in to comment.