docs: def parse_code(url):
      """
      Parse the code parameter from the a URL
  
      :param str url: URL to parse
      :return: code query parameter
      :rtype: str
      """
      result = urlparse(url)
      query = parse_qs(result.query)
      return query['code']