Integrate with v2 of the Tone API #4

This commit is contained in:
okvdai
2023-04-25 11:05:45 +02:00
parent a831471184
commit 707f469917
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"Name": "ToneAPI.pulse",
"Description": "Displays Tone API kill data in the Stats tab.",
"Version": "1.1.0-prerelease",
"Version": "1.1.0",
"LoadPriority": 1,
"Scripts": [
{
+1 -1
View File
@@ -23,7 +23,7 @@ void function GetStatsFromToneAPI_threaded(){
print("[PULSE] Loaded, getting data...")
HttpRequest getStats
getStats.method = HttpRequestMethod.GET
getStats.url = "https://tone.sleepycat.date/v2_test/client/weapons"
getStats.url = "https://tone.sleepycat.date/v2/client/weapons"
getStats.queryParameters["player"] <- [NSGetLocalPlayerUID().tostring()]
void functionref(HttpRequestResponse) onSuccess = void function(HttpRequestResponse response)
{