Jump to content

API Questions


Nietzsche

Recommended Posts

Two questions about the json output of the API.

First, is there a place where I can find out what the quality numbers signify? Is an item of quality "11" strange or unique or unusual for example.

Second, I noticed that there is a map at the top of the json output that is not on the main api example, the current version of that map looks something like this:
 

"defindex_map": {
			"0": 190,
			"1": 191,
			"2": 192,
			"3": 193,
			"4": 194,
			"5": 195,
			"6": 196,
			"7": 197,
			"8": 198,
			"9": 199,
			"10": 199,
			"11": 199,
			"12": 199,
			"13": 200,
			"14": 201,
			"15": 202,
			"16": 203,
			"17": 204,
			"18": 205,
			"19": 206,
			"20": 207,
			"21": 208,
			"22": 209,
			"23": 209,
			"24": 210,
			"25": 737,
			"30": 212,
			"29": 211,
			"160": 294,
			"735": 736,
			"744": 743,
			"831": 810,
			"832": 811,
			"833": 812,
			"834": 813,
			"835": 814,
			"836": 815,
			"837": 816,
			"838": 817,
			"5999": 6000,
			"2093": 5020
		},

What does this signify / is it useful for anything? Right now I'm just ignoring it. 

Link to comment
Share on other sites

	"qualities"

{

"normal"

{

"value" "0"

}

"unique"

{

"value" "6"

}

"rarity1"

{

"value" "1"

}

"rarity2"

{

"value" "2"

}

"rarity3"

{

"value" "4"

}

"rarity4"

{

"value" "5"

}

"community"

{

"value" "7"

}

"developer"

{

"value" "8"

}

"selfmade"

{

"value" "9"

}

"customized"

{

"value" "10"

}

"vintage"

{

"value" "3"

}

"strange"

{

"value" "11"

}

"completed"

{

"value" "12"

}

"haunted"

{

"value" "13"

}

}

qualities are defined in tf2 item schema
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...