{"id":18891430,"url":"https://github.com/imrehg/cathaycheck","last_synced_at":"2025-10-15T07:27:32.616Z","repository":{"id":6753564,"uuid":"8000037","full_name":"imrehg/cathaycheck","owner":"imrehg","description":"Automatic check of bank account balance for Cathay United Bank (Taiwan)","archived":false,"fork":false,"pushed_at":"2014-05-04T15:49:17.000Z","size":132,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-24T04:43:30.074Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imrehg.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-04T02:46:39.000Z","updated_at":"2019-01-03T14:05:37.000Z","dependencies_parsed_at":"2022-09-17T22:13:53.930Z","dependency_job_id":null,"html_url":"https://github.com/imrehg/cathaycheck","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imrehg/cathaycheck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrehg%2Fcathaycheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrehg%2Fcathaycheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrehg%2Fcathaycheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrehg%2Fcathaycheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imrehg","download_url":"https://codeload.github.com/imrehg/cathaycheck/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imrehg%2Fcathaycheck/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279059369,"owners_count":26094943,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-08T08:00:01.562Z","updated_at":"2025-10-15T07:27:32.587Z","avatar_url":"https://github.com/imrehg.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CathayCheck\n\nCheck the bank account balance with a script so it can be done automatically.\n\nCredentials are the ID number, PIN, and a code chosen by the user, they are passed with\nenvironmental variables at the moment.\nEg. in Linux: export ID=xxxxxxxxxx; export PIN=xxxx; export CODE=xxxxxx\n\nFixing a bunch of small tidbits, and will eventually move to a single file Python solution.\n\nThe output has a format as\n\n    2013-03-06T09:59:52+0800, 12345, 9876\n\nwhich has the current date, total balance, and available balance. The date is fully qualified, though formatted for Taiwan's time zone since I'm here. Units are TWD (New Taiwan Dollar).\n\n## Usage from cron\n\n    55 23 * * * export ID=XXXX; export PIN=XXXX; export CODE=XXXX; cd /home/user/cathaycheck; BALANCE=$(./banking.sh); echo $BALANCE \u003e\u003e cathay_balance.txt; echo $BALANCE | /usr/bin/mail -s \"SUBJECT\" \"EMAIL\"\n\nThis will check the balance and save it into a file called `cathay_balance.txt`, as well as sending an email to a specified address, all that every day at 23:55 at night.\n\n## Dependencies\n\n * Python 2.7.x\n * BeautifulSoup4\n\n## WARNING\n\n If you are modifying this, make sure you are not checking in your sensitive information into\n git by accident!\n\n## License\n\nCopyright (C) 2013 Gergely Imreh \u003cimrehg@gmail.com\u003e\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimrehg%2Fcathaycheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimrehg%2Fcathaycheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimrehg%2Fcathaycheck/lists"}