csfloat / inspect

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

How does this library retrieves user's inventories? #195

Closed sandrojologua closed 6 months ago

sandrojologua commented 8 months ago

After reading this and this articles, I wonder how does CSFLOAT fetch inventories of users through CS:GO game itself and not through normal Steam website. I thought I would be able to find something in this github repo, but all I was able to find here is how to get item information once you have item's inspect url (or whatever it's called). If I can't fetch the whole inventory of an user, I wonder if I can check if specific item exists in someone's inventory. Thanks, I hope you will answer me.

wangxingzhen commented 7 months ago

I think this project (inspect) opens the user's view link through the rpc interface of csgo, so as to get the detailed information of the item. It cannot be used to get the user's someone's inventory, and it cannot determine whether there is a specific item

wangxingzhen commented 7 months ago

I think you should need this interface: https://steamcommunity.com/inventory/「Enter your steam id here」/730/2

Step7750 commented 6 months ago

This project doesn't fetch inventories.