code: def get_users(username):
      
      reply = {}
  
      log.debug('Begin /v[x]/users/' + username)
  
      if username is None:
          reply['error'] = "No username given"
          return jsonify(reply), 404
  
      if ',' in username:
          reply['error'] = 'Multiple username queries are no longer supported.'
          return jsonify(reply), 401
  
  
      if "." not in username:
          fqa = "{}.{}".format(username, 'id')
      else:
          fqa = username
  
      profile = get_profile(fqa)
  
      reply[username] = profile
      if 'error' in profile:
          status_code = 200
          if 'status_code' in profile:
              status_code = profile['status_code']
              del profile['status_code']
          return jsonify(reply), status_code
      else:
          return jsonify(reply), 200
docs: Fetch data from username in .id namespace