Add one or more albums to the current user's "Your Music" library. Parameters: - albums - a list of album URIs, URLs or IDs
(self, albums=[])
| 1396 | return self._get("me/albums", limit=limit, offset=offset, market=market) |
| 1397 | |
| 1398 | def current_user_saved_albums_add(self, albums=[]): |
| 1399 | """ Add one or more albums to the current user's |
| 1400 | "Your Music" library. |
| 1401 | Parameters: |
| 1402 | - albums - a list of album URIs, URLs or IDs |
| 1403 | """ |
| 1404 | |
| 1405 | alist = [self._get_uri("album", a) for a in albums] |
| 1406 | return self._put("me/library", uris=",".join(alist)) |
| 1407 | |
| 1408 | def current_user_saved_albums_delete(self, albums=[]): |
| 1409 | """ Remove one or more albums from the current user's |