# Thread: RSBotStats - Script Stat Tracking API | Easily Track Your Script Stats!

1. ## RSBotStats - Script Stat Tracking API | Easily Track Your Script Stats!

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!

Getting Started with the API
• 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:

URL:
Code:
http://pure-woodland-47666.herokuapp.com/api/v1/commits?user_email=YOUR_EMAIL&user_token=YOUR_API_KEY
Body:
Code:
{"commit":{
"script_id": "X5VTnp",
"user_id": "qN4tOb",
"runtime": 75,
"stats_attributes": [
{
"amount": 28
},
{
"amount": 70
}]
}}
Parameter Notes
• At the very least, a commit requiresscript_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!
Last edited by YoHoJo; 03-02-2018 at 08:54 AM.

2. 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.

3. Originally Posted by P1nky
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.

4. Originally Posted by Hoodz
https://stats.grats.pw/POST.php

5. Originally Posted by Kasi
lmao...

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

6. Originally Posted by Hoodz
Originally Posted by Kasi
Originally Posted by P1nky
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.