text: import time
  import pyperclip
  import tos_stats_query
  import tos_stats_logger
  import username_input
  import sys
  
  
  def main():
      username_ = username_input.main(sys.argv)
      result = {}
      if username_["teaId"]:
          result.update(
              tos_stats_query.teaId_search(
                  teaId=username_["teaId"],
                  weighted=False,
              ).copy())
      else:
          result.update(
              tos_stats_query.userName_search(userName=username_["Username"],
                                              weighted=False).copy())
      result.update({"copy": username_["copy"]})
      result.update(username_)
      return result
  
  
  if __name__ == "__main__":
      result = main()
      print(result["result"])
      if result["copy"]:
          pyperclip.copy(result["result"])
      if result["output_log"]:
          tos_stats_logger.log(result["result"])
      time.sleep(15)
  