Module:Test: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
-- Function to get price by item name | -- Function to get price by item name | ||
function test.getPrice(itemName) | function test.getPrice(itemName) | ||
local jsonData = mw.loadJsonData("Module:GEPrices/data") | local jsonData = mw.loadJsonData("Module:GEPrices/data.json") | ||
if not jsonData then | if not jsonData then | ||
return nil | return nil |
Revision as of 22:31, 3 April 2024
Documentation for this module may be created at Module:Test/doc