Teerank is an unofficial ranking system for Teeworlds. It aims to be simple and fast to use. You can find the source code on github. Teerank is a free software under GNU GPL 3.0.
Report any bugs or ideas on github issue tracker or send them by e-mail at email@example.com.
Here is a detailed presentation of teerank JSON API. You are free to use it for any purpose.
Under the hood
Teerank works by polling CTF servers every 5 minutes. Based on the score difference between two polls, it compute your score using a custom ELO rating system.
The system as it is cannot know the team you are playing on, it also do not handle any sort of player authentification, thus faking is easy. That's why Teerank should not be taken too seriously, because it is built on a very naïve aproach.