Jump to content

Chemistry set API update!


Bakgrund

Recommended Posts

Just saw this on Reddit, thought i shared it here because eveyrone might not check Reddit.

 

http://www.reddit.com/r/tf2trade/comments/1pf01m/psa_the_api_now_shows_chemistry_set_ingredients/

 

 

After spending last week writing a scraping tool for chemistry sets, I noticed that 'IEconItems_440/GetPlayerItems/v0001' has been updated to show ingrdients and outputs.

In the 'attributes' array:

  • "defindex": 2000-2008 are ingredients/outputs
  • "is_output": true/false (true if output, false if ingredient)
  • "quantity": The number of the item still required
  • "itemdef": The defindex of the ingredient/output
  • "quality": The quality of the ingredient/output
  • "attributes": If output an array with, "defindex" of output, "float_value" containing defindex of the strangifier 'target' item, "value" (unknown)

Meaning of this to most people: Trading websites can be updated to show what the chemistry sets require and produce. Backpack viewers can also be updated to show chemistry set ingredients and outputs. Item pricing websites could be updated to show the cost of chemistry set inputs and value of outputs.

 

Link to comment
Share on other sites

Soooo, an update to backpack.tf is coming soon?

Yes a bigger update. But not sure when it will come out, could easily take another month I guess.

Link to comment
Share on other sites

As stated above...

 

Already updated backpack.tf's code to support this when it was added a while ago, but haven't published to the live site yet. I'm working on a major update at the same time so it's slowing things down a bit, but here's a speak peak if what you can expect once it's live: http://puu.sh/4PvKH.png

Link to comment
Share on other sites

As stated above...

 

Already updated backpack.tf's code to support this when it was added a while ago, but haven't published to the live site yet. I'm working on a major update at the same time so it's slowing things down a bit, but here's a speak peak if what you can expect once it's live: http://puu.sh/4PvKH.png

i forsee so many issues with the fact that it says the price for each item even when theres multiple...

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...