csfloat / inspect

Source Code that Powers the CSFloat Inspect Link API
https://csgofloat.com
MIT License
392 stars 118 forks source link

The stickers field contains three new fields that are not cached in postgres #205

Closed wangxingzhen closed 6 months ago

wangxingzhen commented 6 months ago

The first response is: { "iteminfo": { "stickers": [ { "slot": 1, "rotation": -84, "offset_x": -0.30164992809295654, "offset_y": -0.0010542571544647217, "stickerId": 6640 }, { "slot": 3, "rotation": 3, "offset_x": 0.00793445110321045, "offset_y": -0.0013234913349151611, "stickerId": 4761 }, { "slot": 1, "rotation": 93, "offset_x": 0.05120111629366875, "offset_y": -0.1134023666381836, "stickerId": 7073 }, { "slot": 0, "rotation": 96, "offset_x": 0.1419270932674408, "offset_y": -0.025481343269348145, "stickerId": 6620 }, { "slot": 2, "rotation": -162, "offset_x": 0.3777031898498535, "offset_y": -0.015245527029037476, "stickerId": 6624 } ]. "itemid": "35915812602", "defindex": 4, "paintindex": 799, "rarity": 2, "quality": 4, "paintseed": 673, "inventory": 66, "origin": 24, "s": "76561198109281204", "a": "35915812602", "d": "12540383305916386112", "m": "0", "floatvalue": 0.010460913181304932, "high_rank": 1, "low_rank": 1 } }

The second response data is{ "iteminfo": { "origin": 24, "quality": 4, "rarity": 2, "a": "35915812602", "d": "12540383305916386112", "paintseed": 673, "defindex": 4, "paintindex": 799, "stickers": [ { "stickerId": 6640, "slot": 1 }, { "stickerId": 4761, "slot": 3 }, { "stickerId": 7073, "slot": 1 }, { "stickerId": 6620, "slot": 0 }, { "stickerId": 6624, "slot": 2 } ], "floatid": "35915812602", "low_rank": 1, "high_rank": 1, "floatvalue": 0.010460913181304932, "s": "76561198109281204", "m": "0" } }

Lack of:rotation、offset_y、offset_x

wangxingzhen commented 6 months ago

https://github.com/csfloat/inspect/pull/206