Documentation for this module may be created at Module:Test/doc
-- Module table
local test = {}
-- Function to get price by item name
function test.getPrice(itemName)
local jsonData = mw.loadJsonData("Module:GEPrices/data.json")
if not jsonData then
return nil
end
return jsonData[itemName] or nil
end
return test