async def get_playlists(self, *, limit=<NUM_LIT:20>, offset=<NUM_LIT:0>):
if hasattr(self, '<STR_LIT:http>'):<EOL><INDENT>http = self.http<EOL><DEDENT>else:<EOL><INDENT>http = self.__client.http<EOL><DEDENT>data = await http.get_playlists(self.id, limit=limit, offset=offset)<EOL>return [Playlist(self.__client, playlist_data) for playlist_data in data['<STR_LIT>']]<EOL>
get the users playlists from spotify.

        Parameters
        ----------
         limit : Optional[int]
             The limit on how many playlists to retrieve for this user (default is 20).
         offset : Optional[int]
             The offset from where the api should start from in the playlists.

        Returns
        -------
        playlists : List[Playlist]
            A list of the users playlists.