code: def load_items():
      
  
      filename = os.path.join(os.path.dirname(__file__), "data", "items.json")
  
      with open(filename) as f:
          items = json.loads(f.read())["result"]["items"]
          for item in items:
              ITEMS_CACHE[item["id"]] = item
docs: Load item details fom JSON file into memory