Scripts for Youth-Zhejiang check-in.
- Copy
config.toml.demo
toconfig.toml
- Get the open-id, and set the
user/username/openid
field. - Normally,
nid
andcardNo
can be acquired automatically if you have checked in before, so you don't have to fill them in.- If there is something wrong, you can fill in these fields.
- For multiple users, add another
[user.yyy]
.
pip install -r requirements.txt
python main.py
This tool supports GitHub Actions.
- Fork this repo.
- Set secrets
OPENID
as your open-id.- If you have multiple users, separate the open-ids with
,
, for example,oO-user1xxxx,oO-user2yyyy,oO-user3zzzz
. - Custom nid and cardNo are currently unsupported for Actions mode.
- If you have multiple users, separate the open-ids with
- The workflow will be run at 23:11 every Monday and Friday.