AstraOS Ver. 1.42:
All checks were successful
Deploy AstraOS Panel / deploy (push) Successful in 11s
All checks were successful
Deploy AstraOS Panel / deploy (push) Successful in 11s
- Logging zum Tracker hinzugefügt
This commit is contained in:
parent
d12204a726
commit
0b414b0900
|
|
@ -1543,6 +1543,11 @@ def get_valorant_stats(name, tag):
|
||||||
match_mode = request.args.get('mode', 'competitive')
|
match_mode = request.args.get('mode', 'competitive')
|
||||||
headers = {"Authorization": VALORANT_API_KEY}
|
headers = {"Authorization": VALORANT_API_KEY}
|
||||||
|
|
||||||
|
try:
|
||||||
|
add_log("Spielersuche durchgeführt", f"Spieler gesucht: {name}#{tag}")
|
||||||
|
except Exception as e:
|
||||||
|
print(f"Fehler beim Loggen der Spielersuche: {e}")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# 1. Account Basis-Daten
|
# 1. Account Basis-Daten
|
||||||
acc_res = requests.get(f"{VALORANT_API_BASE}/v1/account/{name}/{tag}?force=true", headers=headers, timeout=10)
|
acc_res = requests.get(f"{VALORANT_API_BASE}/v1/account/{name}/{tag}?force=true", headers=headers, timeout=10)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue