def parse_response_code(self, url):
        """ Parse the response code in the given response url

            Parameters:
                - url - the response url
        """
        _, code = self.parse_auth_response_url(url)
        if code is None:
            return url
        else:
            return code
 Parse the response code in the given response url

            Parameters:
                - url - the response url
        
spotipy/oauth2.py