0

Help using the VLR API?

Comments:
Threaded Linear
#1
Flame4Game

Hello all,
I want to use the API to pull match results but I don't have much experience with this stuff at all.

For instance when I try to pull the match FNC vs LOUD from 2023,
https://www.vlr.gg/248270/fnatic-vs-loud-valorant-champions-2023-playoffs-ubqf

And I try to use the url https://vlrggapi.vercel.app/match?id=248270

It doesn't work.

Do you guys know how to fix this, or else any youtube tutorial on how to use the API (I can't find any)?

#2
Aayan
1
Frags
+

@yummy

This ur field

#9
Clucker
0
Frags
+

Yukky?

#10
Aayan
1
Frags
+

yeah but he's not yukky
he's yummy

#3
Jarvuy
1
Frags
+

Maybe use a different url format instead?
Like : https://vlrggapi.vercel.app/api/match/248270

The API likely requires the match ID in the path, not as a query parameter. Also, check the API docs or repository for updates, and test with tools like Postman to troubleshoot issues

#4
Jarvuy
0
Frags
+

Nvm idk

#5
Ayush__
3
Frags
+

https://github.com/ThorkildFregi/Valorant-Pro-API

use this

match = data.Match("318917")  # Replace with your specific match ID

print(f"Match ID: {match.id}")
print(f"Winner: {match.winner}")
print(f"Team A: {match.team_a.name} - Score: {match.team_a.score}")
print(f"Team B: {match.team_b.name} - Score: {match.team_b.score}")
#6
Ayush__
3
Frags
+

i dont think the pip install works so you have to install it manually

here are the steps

open cmd

  1. git clone https://github.com/ThorkildFregi/Valorant-Pro-API.git
  2. cd Valorant-Pro-API
  3. pip install beautifulsoup4 requests
  4. and then create whatever python script inside the directory for your match example it would be
from valorant_pro_api import data

match = data.Match("248270")  

print(f"Match ID: {match.id}")
print(f"Winner: {match.winner}")
print(f"Team A: {match.team_a.name} - Score: {match.team_a.score}")
print(f"Team B: {match.team_b.name} - Score: {match.team_b.score}")
#7
Flame4Game
0
Frags
+

Aye thank you so so much for this bro youre a fucking lifesaver

#8
SomeOne__val
-1
Frags
+

What is going on, wdym vlrapi match results?????

  • Preview
  • Edit
› check that that your post follows the forum rules and guidelines or get formatting help
Sign up or log in to post a comment