def artist_related_artists(self, artist_id):
        """ Get Spotify catalog information about artists similar to an
            identified artist. Similarity is based on analysis of the
            Spotify community's listening history.

            .. deprecated::
            This endpoint has been removed by Spotify and is no longer available.

            Parameters:
                - artist_id - the artist ID, URI or URL
        """
        warnings.warn(
            "You're using `artist_related_artists(...)`, "
            "which is marked as deprecated by Spotify.",
            DeprecationWarning
        )
        trid = self._get_id("artist", artist_id)
        return self._get("artists/" + trid + "/related-artists")
 Get Spotify catalog information about artists similar to an
            identified artist. Similarity is based on analysis of the
            Spotify community's listening history.

            .. deprecated::
            This endpoint has been removed by Spotify and is no longer available.

            Parameters:
                - artist_id - the artist ID, URI or URL
        
spotipy/client.py