PDA

View Full Version : RSBotStats - Script Stat Tracking API | Easily Track Your Script Stats!



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!

P1nky
03-02-2018, 07:10 PM
Awesome! Reminds me of what Wizzup? had created ages ago. Maybe create a signature that can show off script stats (we use to have that long ago). Another suggestion add some graphics, background, and etc to the homepage.

Hoodz
03-03-2018, 06:15 PM
Awesome! Reminds me of what Wizzup? had created ages ago. Maybe create a signature that can show off script stats (we use to have that long ago). Another suggestion add some graphics, background, and etc to the homepage.

also grats; made one http://stats.grats.pw/

Kasi
03-03-2018, 07:43 PM
also grats; made one http://stats.grats.pw/

https://stats.grats.pw/POST.php

P1nky
03-05-2018, 02:15 PM
https://stats.grats.pw/POST.php

lmao...

Quite depressing looking at the decline trend - amount of commits:
https://stats.grats.pw/commit.php

grats
12-24-2018, 04:47 AM
also grats; made one http://stats.grats.pw/

https://stats.grats.pw/POST.php

lmao...

Quite depressing looking at the decline trend - amount of commits:
https://stats.grats.pw/commit.php

Lol yea it pretty much died with only specific people with specific scripts on specific old versions getting committed so I just let it go.
I had plans to implement it like the old stats that somehow nobody remembers where you could have 30 accounts running on 1 script and when the account gets stuck it is "turned off" and you can "turn it back on" in the web panel.. After you manually got it out of the random event or whatever. This way your 30 accounts could logoff and rotate every 1 hour, forever.
But seems jagex kinda killed all of that with the ip bans etc, it was implemented privately but idk if it's even usable now. Not that I've done anything RS related for years.

It is sad to see all the different stats die, I always thought they were fun.