async def get_albums(self, *, limit: Optional[int] = <NUM_LIT:20>, offset: Optional[int] = <NUM_LIT:0>, include_groups=None, market: Optional[str] = None) -> List[Album]:
from .album import Album<EOL>data = await self.__client.http.artist_albums(self.id, limit=limit, offset=offset, include_groups=include_groups, market=market)<EOL>return list(Album(self.__client, item) for item in data['<STR_LIT>'])<EOL>
Get the albums of a Spotify artist.

        Parameters
        ----------
        limit : Optional[int]
            The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.
        offset : Optiona[int]
            The offset of which Spotify should start yielding from.
        include_groups : INCLUDE_GROUPS_TP
            INCLUDE_GROUPS
        market : Optional[str]
            An ISO 3166-1 alpha-2 country code.

        Returns
        -------
        albums : List[Album]
            The albums of the artist.