Okay, so I’ve been playing Destiny 2 for a while now, and I always thought those recap emails they send out were kinda neat. You know, the ones that show your stats and highlights from the past season or year? I always wondered how they put those together, and figured, “Hey, I bet I could do something like that myself!” So, I decided to give it a shot.

Getting Started: Data, Data, Data
First things first, I needed data. Luckily, Bungie has this thing called an API (Application Programming Interface). I figured out it is like a secret doorway that lets you peek into the game’s data. The API lets you grab all sorts of info, like your character’s stats, what weapons you’ve been using, how many enemies you’ve defeated, all that good stuff.
So, I spent some time figuring out the API. It’s a little tricky, it took a long time to figure out all the steps to access it. After I get the hang of it, I can start pulling my own Destiny 2 data.
Wrangling the Numbers
Once I had the data, it was a bit of a mess. I had to filter out to get what I wanted. So I spent a good chunk of time cleaning it up, organizing it, and basically making it presentable.
I had to deal with some practical concerns in order to sort out the data:
- Played Time
- The enemies you defeated
- favorite weapons
Putting It All Together: The Email
With the data all sorted, it was time to actually build the email. I used a simple format to showcase that data:
“Guardian, here’s your Destiny 2 recap!”
I played [Total Hours Played] hours this week.
I defeated a total of [Total Enemies Defeated] enemies.

My favorite weapon is [Your Favorite Weapon].
It was super satisfying to see all that data come together in a neat little package. I have to say it is pretty cool.