Geostats — Geocaching.com Statistics Generator

Geostats is a tool for generating statistics about your geocaching.com account. It generates HTML files and allows you to push them to your public profile at geocaching.com. It doesn’t rely on Pocket Queries.

Getting Started

bin/geostats init <username> <password>
bin/geostats update
bin/geostats generate > stats.html
open stats.html

bin/geostats console

Inside the console you have access to the following ActiveRecord models:

  • Cache
  • CacheType
  • Log
  • LogType

Todo

  • Better error handling
  • Logging / More output
  • HTML generation
  • Pushing

Usage

Environment Variables: GEOSTATS_DIR="~/geostats"

Commands: Initialize new database: $ geostats init username password $ geostats init username password directory

Update database: $ geostats update $ geostats update all $ geostats update all caches $ geostats update all logs $ geostats update GC12345 GC67890

                                 -d <secs> (delay)

Generate statistics: $ geostats generate $ geostats generate default

Push statistics to geocaching.com: $ geostats push