Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function GetItem(itemID) {
- var myUrl = "http://www.gw2spidy.com/api/v0.9/json/item/" + escape(itemID);
- var jsonData = UrlFetchApp.fetch(myUrl);
- var jsonString = jsonData.getContentText();
- return jsonObject;
- }
- function GetItemExchangeValue(jsonObject) {
- return(jsonObject.min_sale_unit_price / 100)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement