{"id":16552440,"url":"https://github.com/0xdevalias/poc-up-bank-cli","last_synced_at":"2025-03-04T16:44:39.012Z","repository":{"id":205690286,"uuid":"714841310","full_name":"0xdevalias/poc-up-bank-cli","owner":"0xdevalias","description":"PoC Up Bank CLI","archived":false,"fork":false,"pushed_at":"2023-11-06T00:34:18.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-01T19:49:08.190Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xdevalias.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}},"created_at":"2023-11-06T00:20:16.000Z","updated_at":"2023-11-06T00:34:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"a11bf84d-0e7f-4351-befc-aa7d7398722f","html_url":"https://github.com/0xdevalias/poc-up-bank-cli","commit_stats":null,"previous_names":["0xdevalias/poc-up-bank-cli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdevalias%2Fpoc-up-bank-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdevalias%2Fpoc-up-bank-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdevalias%2Fpoc-up-bank-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdevalias%2Fpoc-up-bank-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xdevalias","download_url":"https://codeload.github.com/0xdevalias/poc-up-bank-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241885925,"owners_count":20036956,"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":[],"created_at":"2024-10-11T19:44:53.130Z","updated_at":"2025-03-04T16:44:38.988Z","avatar_url":"https://github.com/0xdevalias.png","language":"TypeScript","readme":"# PoC - Up Bank CLI\n\nProof of Concept (PoC) script for interacting with [Up Bank](https://up.com.au/)'s API ([Ref](https://developer.up.com.au/)).\n\n## Usage\n\nFirst you will need to run:\n\n```shell\nnpm install\n```\n\nThen you can use the script as follows:\n\n```shell\nup-bank-cli.ts --help\n\nup-bank-cli.ts --version \n\nup-bank-cli.ts transactions --since 20210701 --until 20220630 --size 100 --tag Tax --paginate\n\netc\n```\n\nOutput from `./up-bank-cli.ts --help`:\n\n```shell\n⇒ ./up-bank-cli.ts --help\nup-bank-cli.ts \u003ccommand\u003e\n\nCommands:\n  up-bank-cli.ts transactions  Retrieve a list of all transactions across all ac\n                               counts for the currently authenticated user. The\n                               returned list is paginated and can be scrolled by\n                                following the next and prev links where present.\n                                To narrow the results to a specific date range p\n                               ass one or both of filter[since] and filter[until\n                               ] in the query string. These filter parameters sh\n                               ould not be used for pagination. Results are orde\n                               red newest first to oldest last.\n\n                               Docs: https://d\n                               eveloper.up.com.au/#get_transactions\n  up-bank-cli.ts completion    generate completion script\n\nPagination:\n      --paginate     Make additional HTTP requests to fetch all pages of results\n                                                      [boolean] [default: false]\n      --max-pages    Maximum number of pages of results to fetch when using --pa\n                     ginate                                             [number]\n      --max-results  Maximum number of results to fetch when using --paginate\n                                                                        [number]\n\nOptions:\n      --debug    Enable debug mode                    [boolean] [default: false]\n      --version  Show version number                                   [boolean]\n  -h, --help     Show help                                             [boolean]\n```\n\nOutput from `./up-bank-cli.ts transactions --help`:\n\n```shell\n⇒ ./up-bank-cli.ts transactions --help\nup-bank-cli.ts transactions\n\nRetrieve a list of all transactions across all accounts for the currently authen\nticated user. The returned list is paginated and can be scrolled by following th\ne next and prev links where present. To narrow the results to a specific date ra\nnge pass one or both of filter[since] and filter[until] in the query string. The\nse filter parameters should not be used for pagination. Results are ordered newe\nst first to oldest last.\n\nDocs: https://developer.up.com.au/#get_transactions\n\nFetch Transactions:\n      --size      Page size                                             [number]\n      --status    Transaction status                                    [string]\n      --since     Start date (eg. 2020-01-01T01:02:03+10:00)            [string]\n      --until     End date (eg. 2020-02-01T01:02:03+10:00)              [string]\n      --tag       Tag                                                   [string]\n      --category  Category identifier\n  [string] [choices: \"games-and-software\", \"car-insurance-and-maintenance\", \"fam\n  ily\", \"good-life\", \"groceries\", \"booze\", \"clothing-and-accessories\", \"cycling\"\n  , \"homeware-and-appliances\", \"personal\", \"education-and-student-loans\", \"event\n  s-and-gigs\", \"fuel\", \"home\", \"internet\", \"fitness-and-wellbeing\", \"hobbies\", \"\n  home-maintenance-and-improvements\", \"parking\", \"transport\", \"gifts-and-charity\n  \", \"holidays-and-travel\", \"pets\", \"public-transport\", \"hair-and-beauty\", \"lott\n  ery-and-gambling\", \"home-insurance-and-rates\", \"car-repayments\", \"health-and-m\n  edical\", \"pubs-and-bars\", \"rent-and-mortgage\", \"taxis-and-share-cars\", \"invest\n  ments\", \"restaurants-and-cafes\", \"toll-roads\", \"utilities\", \"life-admin\", \"tak\n  eaway\", \"mobile-phone\", \"tobacco-and-vaping\", \"news-magazines-and-books\", \"tv-\n                                              and-music\", \"adult\", \"technology\"]\n\nPagination:\n      --paginate     Make additional HTTP requests to fetch all pages of results\n                                                      [boolean] [default: false]\n      --max-pages    Maximum number of pages of results to fetch when using --pa\n                     ginate                                             [number]\n      --max-results  Maximum number of results to fetch when using --paginate\n                                                                        [number]\n\nOptions:\n      --debug    Enable debug mode                    [boolean] [default: false]\n      --version  Show version number                                   [boolean]\n  -h, --help     Show help                                             [boolean]\n```\n\n## Libs / Dependencies\n\n- https://github.com/yargs/yargs\n  - https://yargs.js.org/docs/\n- https://github.com/node-fetch/node-fetch\n- https://github.com/esbuild-kit/tsx\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xdevalias%2Fpoc-up-bank-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xdevalias%2Fpoc-up-bank-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xdevalias%2Fpoc-up-bank-cli/lists"}