Recently Played
Game activity tracker, showing the new games I keep playing while not finishing the old ones.
What I’m Currently Playing
Loading recently played games…
Cross-platform Play
I wanted to build something so I can show my recently played games on my website. I play across multiple platforms, and each of them have their own way of exposing their data.
Steam was straightforward which provides an API key through the Steam Community website. There’s a reason why Valve dominates their space.
PlayStation has a more hidden process: sign in and then open a specific URL which returns a token that is used to exchange for another token. It’s manageable once you know how it works. However, it expires after 2 months.
For Xbox, I went through OpenXBL to get API access. The free tier gives you 150 requests an hour, which is plenty since I only fetch the data once a day and cache it for the website.
I’m planning to add Nintendo in the next version. But the kids have taken over the Switch in my house, so that gaming activity isn’t really mine anyway.
Under the Hood
A scheduled Lambda runs every night to pull recently played games from each platform and publishes a JSON file to an S3 bucket sitting behind CloudFront. My website fetches this file which shows the latest 10 games played across all platforms.
Example:
{
"generatedAt":"2026-11-21T18:27:19.892Z",
"platforms":{
"steam":{
"lastSuccess":"2026-11-21T18:27:19.892Z"
},
"playstation":{
"lastSuccess":"2026-11-21T18:27:19.892Z"
},
"xbox":{
"lastSuccess":"2026-11-21T18:27:19.892Z"
}
},
"games":[
{
"id":"playstation:CUSA29290_00",
"platform":"playstation",
"title":"Boomerang Fu",
"lastPlayed":"2026-10-30T01:35:24.880Z",
"coverUrl":"https://games.herreralab.com/covers/playstation/CUSA29290_00.jpg"
},
// other games
]
}
I used CDK to deploy the AWS infrastructure which costs a few cents a month to run.
View the project here: https://github.com/brianherrera/recently-played