Well as promised,
And posting it here since this is (nearly) the only post i could find when i needed info about using it (so others can also find it more easily when they are looking for it )
I have made a fully functional script to interface with the rankbar and published it here: