Web Server interface to a Red Eclipse statistics database.
Call with: ./server.py <path to master server home>
Config is statsserver.json
in the master server home directory, options in defaultconfig.json
Backups of the sqlite database will be created, one per day, and deleted after 30 days.
<>
means a placeholder, []
means a GLOB placeholder, {}
is an optional set.
/servers{/handle}
?{not-}host=<IP>
?{not-}version=[version]
?{not-}flags=[flags]
/games{/gameid}
?{not-}mode=<mode>
?{lt/gt/not-}timeplayed=<timeplayed>
?{lt/gt/not-}time=<time>
?recent
- (List)
?{not-}map=<map>
- (List)
?{not-}mutator=<mutator>
- (List)
?{not-}playerhandle=<playerhandle>
/players{/handle}
?allversions
?{not-}name=[name]
/weapons[/weapon]
?allversions
/maps[/map]
?allversions
/muts[/mut]