{"id":19167276,"url":"https://github.com/dyweb/beancount-sjtu","last_synced_at":"2025-06-30T22:05:59.562Z","repository":{"id":71929383,"uuid":"435960630","full_name":"dyweb/beancount-sjtu","owner":"dyweb","description":"Beancount Importer of SJTU jAccount API for E-card Transaction","archived":false,"fork":false,"pushed_at":"2021-12-07T17:07:46.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-02-22T23:26:03.992Z","etag":null,"topics":["beancount","beancount-importer","jaccount","shanghai-jiao-tong-university"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dyweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-07T16:56:32.000Z","updated_at":"2021-12-07T17:35:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"7ddbd551-3218-4bc0-86ff-345b5a8602c1","html_url":"https://github.com/dyweb/beancount-sjtu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dyweb/beancount-sjtu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyweb%2Fbeancount-sjtu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyweb%2Fbeancount-sjtu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyweb%2Fbeancount-sjtu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyweb%2Fbeancount-sjtu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dyweb","download_url":"https://codeload.github.com/dyweb/beancount-sjtu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dyweb%2Fbeancount-sjtu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262857265,"owners_count":23375491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beancount","beancount-importer","jaccount","shanghai-jiao-tong-university"],"created_at":"2024-11-09T09:36:38.822Z","updated_at":"2025-06-30T22:05:59.503Z","avatar_url":"https://github.com/dyweb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# beancount-sjtu\n\nBeancount Importer of jAccount API for E-card Transaction.\n\n## Usage\n\n### Get Data from jAccount API\n\n```shell\n# generate millisecond timestamp\n$ export TIMESTAMP=$(date -d \"2021-05-01\" \"+%s000\")\n\n# Generate URL\n$ export URL=\"https://api.sjtu.edu.cn/v1/me/card/transactions?beginDate=${TIMESTAMP}\"\n\n# Get token after authenticated\n$ export TOKEN=\u003cTOKEN\u003e\n\n# Fetch data\n$ curl -H \"Authorization: Bearer $TOKEN\" $URL \u003e sample.json\n```\n\n### Generate Beancount File\n\n```shell\n$ bean-extract samples/config.py sample.json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyweb%2Fbeancount-sjtu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdyweb%2Fbeancount-sjtu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdyweb%2Fbeancount-sjtu/lists"}