-
-
Notifications
You must be signed in to change notification settings - Fork 0
Steam Stats
Nicco edited this page Jun 21, 2024
·
4 revisions
Wiki Page for the explanation for Steam Stats
It comes with 2 Features:
- Steam User Summary
- Recently Played Games (Last 2 Weeks)
- User Stats has the functionality to fetch the steam user data from steam which includes personaname, profileurl, avatar, personastate, etc.
- The fetched data is then processed and used to generate a dynamic card using below elements
- personaname
- personastate
- avatarfull
- loccountrycode
- lastlogoff
- timecreated
- gameextrainfo
- The card is generated using html which is then converted to a image format(png) so that it can be embedded in the markdown file as it doesn't support html rendering
Note: Unfortunately, Steam Web API doesn't support Web Sockets which prohibits me from implementing the real-time updates to sync the User Status to GitHub. And doing it through API calls is a very bad idea.
- This part of the feature is to fetch a list of games a steam player has played in the last two weeks
- The fetched elements include below which are processed to generate a dynamic card like steam user summary
- appid
- name
- playtime_2weeks
- img_icon_url
- Same implementation here as well for the conversion of html code to png for embedding it to markdown file
Examples for these features can be found here
Created with 🐍 & ❤️ by Nicco