Get player's most recent badge IDs

I see that there are ways to count how many badges a person has in total, like this post for example:

But I was wondering if there is a way to get the IDs of the players most recent badges (The first 10 badges) in order?
I’ve been searching for well over 2 hours trying to figure out how, as it would be really useful to be able to display the recent player badges in a project I am working on.

I don’t have much of a clue about how APIs work sadly, and I just don’t seem to be able to understand the sites that are supposed to explain it.
But I assume it would be similar to the script I linked, except just to print the first page of badge IDs instead of counting each page of badges?

If someone knows how to do that, it would be greatly appreciated.
Thank you for taking your time to read. <3

2 Likes

I found out by myself!!! :smiley:

Sorry for wasting everyone’s time with the post. :sweat_smile:
Thank you to anyone who wanted to help, though!

To anybody who needs to figure out how to do the same thing, here is how I did it!

You can find all the values you can get right here!
https://badges.roblox.com/docs#!/Badges/get_v1_users_userId_badges
image

8 Likes