csStats is an Android app that allows you add steam users, check their stats and inventory in cs(go/2). It was made as the second homework for my Client Apps class in my 4th semester at BME. Although this was a homework, I did some work on it after submittion
Here you can add the players you qould like to view. You can add player by its SteamID64 or by vanity URL.
When adding by vanity URL that first gets resolved to the SteamID64 of the user, with that the players current name and picture gets loaded using the GetPlayerSummeries endpoint.
The player list is being handled in a Recycle View. And the players data are stored in a Room database.
The images are being loaded with Glide.
Selecting a player will bring you to the players profile page. Here you can see the players Steam level, visibility status, online statuc, ban status and recently played games. The visibility of these are dependet on the players privacy settings.
Below the recently player games there is a button to check all the games that the player owns (if it's public)
The recently played games and the whole library page are each using a Recycle view.
On the next page is the players friends list, all of the players steam friend will show up here, if it's set to public. To make it easier to find players you can search and sort by names. Also, if you click the button with the plus icon next to a player in the friends list the player will be added to the apps player list.
There are two pages where you can find the stats of the selected player. The statistics are only visible if the player is set them to public. On the first page you cans e a bunch of data and on the second 3 charts. The charts are using MPAndroidChart.
And finally the inventory page. To load the inventory of a player you need to press on the inventory screen. This is because the API endpoint that is used for this is pretty fast at limiting you and if it were loading every inventory when you just scrolled near it, it would not time you out pretty quickly. You can sort by rarity and name, and you can also search by name. If you click on one of the skins it will bring up a detailed page about the price and other properties of the skin. Sadly the endpoint that I used when I created this app is no longer working and I could not find any replacement so the float, pattern and other skin properties are unavailable currently.
- Finish README
- Fix random color issues appearing on actual phone
- Fix disappeared plus button on friends list
- make the float api work or find a new one