Beancount Importer of jAccount API for E-card Transaction.
# generate millisecond timestamp
$ export TIMESTAMP=$(date -d "2021-05-01" "+%s000")
# Generate URL
$ export URL="https://api.sjtu.edu.cn/v1/me/card/transactions?beginDate=${TIMESTAMP}"
# Get token after authenticated
$ export TOKEN=<TOKEN>
# Fetch data
$ curl -H "Authorization: Bearer $TOKEN" $URL > sample.json
$ bean-extract samples/config.py sample.json