spotify/models/library.py
async def get_albums(self, *, limit=20, offset=0) -> List[Album]:
        """Get a list of the albums saved in the current Spotify user’s ‘Your Music’ library.

        Parameters
        ----------
        limit : Optional[int]
            The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.
        offset : Optional[int]
            The index of the first item to return. Default: 0
        """
        data = await self.user.http.saved_albums(limit=limit, offset=offset)

        return [Album(self.__client, item['album']) for item in data['items']]
async def get_albums(self, *, limit=20, offset=0) -> List[Album]:
        """Get a list of the albums saved in the current Spotify user’s ‘Your Music’ library.

        Parameters
        ----------
        limit : Optional[int]
            The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.
        offset : Optional[int]
            The index of the first item to return. Default: 0
        """
        data = await self.user.http.saved_albums(limit=limit, offset=offset)

        return [Album(self.__client, item['album']) for item in data['items']]
async def get_albums ( self , * , limit = 20 , offset = 0 ) -> List [ Album ] : data = await self . user . http . saved_albums ( limit = limit , offset = offset ) return [ Album ( self . __client , item [ 'album' ] ) for item in data [ 'items' ] ]
Get a list of the albums saved in the current Spotify user’s ‘Your Music’ library.

        Parameters
        ----------
        limit : Optional[int]
            The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.
        offset : Optional[int]
            The index of the first item to return. Default: 0
Get a list of the albums saved in the current Spotify user’s ‘Your Music’ library .