We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ef4b01 commit 87b781fCopy full SHA for 87b781f
README.md
@@ -33,7 +33,7 @@ const getItemPrice = async () => {
33
let res = await xiv.search('Stuffed Khloe')
34
35
//use item ID for market query
36
- res = await xiv.market.prices(res.Results[0].ID, 'Excalibur')
+ res = await xiv.market.get(res.Results[0].ID, {server: 'Excalibur'})
37
38
//return lowest price
39
return res.Prices[0].PricePerUnit
0 commit comments