最新の異なるkintoneレコードの数値を集計し、その結果をメール送信するプログラムです。
It is a program to compile the numerical values of the latest different kintone records and e-mail the results.
- Python 3.5.3
- PyYAML
- pykintone https://github.com/icoxfog417/pykintone
- kintone
FieldCode | FieldType | DefaltValue |
---|---|---|
Date | Date | Today |
Member | Number | 0 |
PV | Number | 0 |
UU | Number | 0 |
kintone subdomain, appliction id, api token
domain: *****
apps:
send:
id: *****
token: **********************************
mail settings
mail:
smtp: *****.*****.com
port: 587
to: *****@****.***
from: *****@****.***
password: *****
$ sudo sh indicator/run.sh
Between 2017-06-05 and 2017-05-29
Members: 7,000 (+2,150)
PV: 6,000
UU: 400
Send to mail >>xxx@*****.***
http://qiita.com/ushiron/items/ed1a90bf38396fadcb7b
MIT