EDIT: as we found out in this post, getting your rank with Valorant’s API isn’t possible for now.
Thanks to @enfys18 for taking the time to look for it with me, something I hoped to do in this post at the time.
Hey @Wulffy!
If you see eval
it means that they’re using the $(eval)
variable. /me
is a Twitch command.
If you go to Riot’s Developer Portal, you can find their API, this is the API endpoint to get the data you’re looking for.
As you may see, you need the actId
, to get such value, you need to use this other API endpoint.
This isn’t something I can do for you, you’ll need to log in and create a developer account, get your actId
and use it.
After that, put the link in the first API endpoint inside a $(urlfetch)
, this should give you a JSON as output, and from there you will be able to build the response with an $(eval)
.