YoHoJo
03-02-2018, 08:37 AM
Runescape Bot Stats
Runescape Bot stats is an API that allows scripters to easily track stats their scripts have accomplished.
Add to your script with a simple JSON POST request. Use to showoff and market your script!https://i.imgur.com/FhPmbF7h.png
Getting Started with the API
Sign up and add your script here (https://pure-woodland-47666.herokuapp.com/scripts/new/)
Find your API Key and Script ID here (https://pure-woodland-47666.herokuapp.com/users/edit/)
Send a POST request to upload your stats. We recommending sending 1 request on script end.
Example Request:
URL:
http://pure-woodland-47666.herokuapp.com/api/v1/commits?user_email=YOUR_EMAIL&user_token=YOUR_API_KEY
Body:
{"commit":{
"script_id": "X5VTnp",
"user_id": "qN4tOb",
"runtime": 75,
"stats_attributes": [
{
"task": "Trout Caught",
"amount": 28
},
{
"task": "Lobster Caught",
"amount": 70
}]
}}
Parameter Notes
At the very least, a commit requires`script_id`, `user_id`, and `runtime`
`runtime` is in minutes
`]stats_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.
More To Come
Eager to continue development of this, open to all suggestions and constructive criticism!
Scripters, please use this, thank you.
Are you a script user who wants to showoff their stats for a script?
Bug the script author to implement this API, it's easy!
Runescape Bot stats is an API that allows scripters to easily track stats their scripts have accomplished.
Add to your script with a simple JSON POST request. Use to showoff and market your script!https://i.imgur.com/FhPmbF7h.png
Getting Started with the API
Sign up and add your script here (https://pure-woodland-47666.herokuapp.com/scripts/new/)
Find your API Key and Script ID here (https://pure-woodland-47666.herokuapp.com/users/edit/)
Send a POST request to upload your stats. We recommending sending 1 request on script end.
Example Request:
URL:
http://pure-woodland-47666.herokuapp.com/api/v1/commits?user_email=YOUR_EMAIL&user_token=YOUR_API_KEY
Body:
{"commit":{
"script_id": "X5VTnp",
"user_id": "qN4tOb",
"runtime": 75,
"stats_attributes": [
{
"task": "Trout Caught",
"amount": 28
},
{
"task": "Lobster Caught",
"amount": 70
}]
}}
Parameter Notes
At the very least, a commit requires`script_id`, `user_id`, and `runtime`
`runtime` is in minutes
`]stats_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.
More To Come
Eager to continue development of this, open to all suggestions and constructive criticism!
Scripters, please use this, thank you.
Are you a script user who wants to showoff their stats for a script?
Bug the script author to implement this API, it's easy!