Integrate with v2 of the Tone API #4
This commit is contained in:
@@ -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": [
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user