Skip to content

qualwas72/statsdb-interface

 
 

Repository files navigation

statsdb-interface

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.

API Points:

<> means a placeholder, [] means a GLOB placeholder, {} is an optional set.

/get

  • /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]

About

Web Server interface to a Red Eclipse statistics database.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.0%
  • HTML 4.7%
  • CSS 1.3%