Jump to content
  • 0

API player lookup


wishy

Question

when looking up a player, you get a bunch of data returned, which most of it is obvious.

 

But I can't seem to find the link between the values from the player equipped and what the actual items are.
 

['Equipment']['0'] => 17

['Equipment']['1'] => 8

...

['Equipment']['4'] => 12

 

Are examples of responses, but how do I connect the value 17 to an item for example, so I can get more data from item 17.

Problem is, when looking up item info, I don't see a value containing 17.

 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1
  On 2/14/2020 at 3:16 PM, wishy said:

when looking up a player, you get a bunch of data returned, which most of it is obvious.

 

But I can't seem to find the link between the values from the player equipped and what the actual items are.
 

['Equipment']['0'] => 17

['Equipment']['1'] => 8

...

['Equipment']['4'] => 12

 

Are examples of responses, but how do I connect the value 17 to an item for example, so I can get more data from item 17.

Problem is, when looking up item info, I don't see a value containing 17.

 

 

Expand  

It refers to the bagslot.

17 for example is the 17th slot in the player's inventory (counting from 0)

Link to comment
Share on other sites

Γ—
Γ—
  • Create New...