code: def get_user_info(access_key, secret_key):
      
      u = 'https://s3.us.archive.org'
      p = dict(check_auth=1)
      r = requests.get(u, params=p, auth=auth.S3Auth(access_key, secret_key))
      r.raise_for_status()
      j = r.json()
      if j.get('error'):
          raise AuthenticationError(j.get('error'))
      else:
          return j
docs: Returns details about an Archive.org user given an IA-S3 key pair.
  
      :type access_key: str
      :param access_key: IA-S3 access_key to use when making the given request.
  
      :type secret_key: str
      :param secret_key: IA-S3 secret_key to use when making the given request.