@@ -0,0 +1,442 @@
+import sys%0Afrom tinydb import TinyDB, Query%0Afrom thirdworldwar import *%0Afrom _account_ import *%0A%0Adb = TinyDB('../cache/db/ranks.json', sort_keys=True, indent=4)%0Atable = db.table('server_'+str(server))%0A%0Ah = ThirdWorldWar(username, password, server)%0Ah.rLogin()%0A%0Aold = table.all()%0Aranks = h.getRanking()%0Afor r in ranks:%0A    for o in old:%0A        if r%5B'user'%5D == o%5B'user'%5D:%0A            print(r%5B'user'%5D, r%5B'points'%5D-o%5B'points'%5D)%0A            break%0A

test script for getRanking