Titan icon indicating copy to clipboard operation
Titan copied to clipboard

Add inventory value of banned targets

Open sapphyrus opened this issue 8 years ago • 1 comments

I think it would be a great improvement to the Bot if it would save and display the inventory value of the target when it gets banned.

This would be possible by implementing support for the CSGOBackpack API or developing your own way to calculate the value of each skin.

The API allows up to 50 requests per hour without an API key and unlimited requests with an optional and free key and should be pretty easy to implement.

sapphyrus avatar Feb 17 '18 20:02 sapphyrus

I have contacted the owner of CSGOBackpack and after a few talks we got to the conclusion that he'll implement v2 of his API allowing Titan to fetch all items + the prices of them using their API and then get the list of inventory items of the banned target by ourselves to calculate the inventory value.

Putting this on waiting until he implemented v2 of his API. The implementation will most likely be implemented sooner in Titan but not activated until he fully made his new version available.

A few notes for myself regarding CSGOBackpack API, can be safely ignored everyone:

PHP: https://pastebin.com/Ekn1RxZC
Format of new API: https://i.imgur.com/95f6EPx.png
Contact: https://steamcommunity.com/id/onlypl/

mellowagain avatar Mar 05 '18 12:03 mellowagain