Posted by Steve
Monday, September 26, 2022 5:05 PM
I was looking around for a way to have my !rank command in chat automatically update in real-time with my Valorant rank. There are a couple of threads existing right now that are outdated (APIs are broken/403 errors)
Simple guide here, easy for anyone to understand! I know APIs can be a bit daunting for some <3
How to add custom commands in SE
- In StreamElements, Chatbot > Custom Commands in the sidebar
- When you've opened this page, Custom Commands > Add New Command
- Set the Command Name to something you want (i.e. !rank, !valorank, etc)
- Following section explains what you should put in "Response" to call your Valorant rank/elo - "$(urlfetch link)"
How to get Valorant API's output
This is the Valorant API link: https://api.kyroskoh.xyz/valorant/v1/mmr/REGION/NAME/TAG
Replace REGION, NAME, and TAG with your information
- REGION - EU, AP, NA, KR
- NAME/TAG = Your ingame name, e.g. Blue#Strim will be Blue/Strim
With your modified link, there are a few outputs you can have. Some common ones would be;
- Rank only ("Diamond 1.") $(urlfetch https://api.kyroskoh.xyz/valorant/v1/mmr/region/name/tag?show=rankonly&display=0)
- Rank and RR ("Diamond 1 - 78 RR.") $(urlfetch https://api.kyroskoh.xyz/valorant/v1/mmr/region/name/tag?show=combo&display=0)
- Name and Rank + RR ("Name#Tag (EU Region): Diamond 1 - 78 RR.") $(urlfetch https://api.kyroskoh.xyz/valorant/v1/mmr/region/name/tag?show=combo&display=1)
Copy and paste the code into the Response box. Much more explained in this link (credit goes to u/Passage-Special) https://community.nightdev.com/t/custom-api-valorant-mmr-rank-api-v1/30536
Hope this helps! 💙
References
- https://www.reddit.com/r/VALORANT/comments/xnyxsl/for_streamers_api_rank_command_for_valorant_in/
- https://reddit.com/xnyxsl
More Like This
Does anyone feel like they get hit with chamber sheriff ability in the head more than with normal guns?
Posted by Otto
Monday, December 6, 2021 10:50 PM
That killjoy’s ult is a game winner!
Posted by Otto
Monday, December 12, 2022 12:17 AM
Getting mocked because of my voice
Posted by Otto
Thursday, September 15, 2022 10:21 PM