Programs for JogNote
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
28041.png
README.md
jognote.py
mileage_chart.py

README.md

JogNote

Get mileage data by JSON format from JogNote

JogNote から、走行距離を取り出して JSON で出力します

% python3.6 jognote.py 28041 2017-10 2017-11-03
{"2017-10-01": 13.8, "2017-10-03": 8.0, "2017-10-04": 6.0, "2017-10-07":
7.0, "2017-10-08": 71.5, "2017-10-12": 10.0, "2017-10-14": 10.0, "2017-1
0-15": 30.0, "2017-10-17": 10.0, "2017-10-18": 15.0, "2017-10-21": 10.0,
"2017-10-22": 21.1, "2017-10-24": 10.0, "2017-10-25": 10.0, "2017-10-26"
: 10.0, "2017-10-28": 8.0, "2017-10-29": 20.0, "2017-10-31": 10.0, "2017
-11-01": 15.0, "2017-11-03": 5.0}
%

Make a chart from the JSON

そのデータをグラフ化します

% python3.6 jognote.py 28041 2010-01 2017-11 > 28041.json
% python3.6 mileage_chart.py 28041.json

chart sample