-
Notifications
You must be signed in to change notification settings - Fork 1
class_Item
Tom edited this page Apr 1, 2018
·
2 revisions
Class for all items returned by API
Item(json)
-
json(object/dict) - raw json data of item
-
id(string) - -
name(string) - -
price(string) - -
priceIcon(string) - -
priceIconLink(string) - -
rarity(string) - -
type(string) - -
readableType(string) - -
icon(string) - -
png(string) - -
gallery(string) - -
featured(boolean) -
load(name,json,default)
-
name(string) - Name of index to lookup -
json(object/dict) - json of item -
default(any) - default value to return if key(name) is not found
value (any) - Either the value of json[name] or default if name is not found