fsteffek / steamplog

Plot your steam in-game time

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SteamPlog

SteamPlog logs and plots your in-game time for your steam games.

Note: SteamPlog is not endorsed, sponsored, affiliated with or otherwise authorized by Valve Corporation.

Steamplog Q1-2015

Getting Started

Requirements

First time setup

The first time you run steamplog.py, the file config.json is created. You need to add your API key and Steam ID to config.json. After that you may run the following commands:

$ ./steamplog.py log                # run it once a day at the same time
$ ./steamplog.py plot               # run whenever you want
...
$ ./steamplog.py plot -lc -o 2015-Q3 2015-07-01 2015-09-30

Run with option -h to see all available options.

$ ./steamplog.py -h
steamplog - log and plot your steam gaming time

usage:
  steamplog.py log [<DATE>]
  steamplog.py plot [<DATE_FROM> [<DATE_TO>]]
                    [-lc] [-o FILE] [-v]
  steamplog.py stats [--full]

plot options:
  [<DATE_FROM>]     include every playtime from this date (format: YYYY-MM-DD)
                    [default: last 14 days]
  [<DATE_TO>]       include every playtime from this date (format: YYYY-MM-DD)
                    [default: today]
  -c, --color       top 10 games have different colors
  -l, --legend      include a legend
  -o FILENAME, --output FILENAME
                    FILENAME of the output image without extension

stats options:
  --full            print every game

other:
  -v, --verbose  be verbose
  -h, --help     show this help

Automating

On Linux

Edit your crontab

On Windows

Use the task sheduler

About

Plot your steam in-game time

License:MIT License


Languages

Language:Python 100.0%