Runescape Bot stats is an API that allows scripters to easily track stats their scripts have accomplished.
- Sign up and add your script here
- Find your API Key and Script ID here
- Send a POST request to upload your stats. We recommending sending 1 request on script end.
Example Request:
Body:
{"commit":{
"script_id": "X5VTnp",
"user_id": "qN4tOb",
"runtime": 75,
"stats_attributes": [
{
"task": "Trout Caught",
"amount": 28
},
{
"task": "Lobster Caught",
"amount": 70
}]
}}
- At the very least, a commit requires
script_id
,user_id
, andruntime
runtime
is in minutesstats_attributes
are for tracking any sorts of tasks your script does. ex: Fish Caught, Yews Chopped, XP Gained, GP gained, etc.user_id: qN4tOb
is the catch-all user. Use this as default.