{"id":19125836,"url":"https://github.com/stepansnigirev/requests-bitcoin-cli","last_synced_at":"2025-07-18T08:02:04.393Z","repository":{"id":94053684,"uuid":"202657747","full_name":"stepansnigirev/requests-bitcoin-cli","owner":"stepansnigirev","description":"A tiny script to run Bitcoin JSON-RPC commands using requests","archived":false,"fork":false,"pushed_at":"2019-08-16T04:40:39.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-03T09:46:55.164Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/stepansnigirev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-16T04:22:02.000Z","updated_at":"2022-04-04T16:48:47.000Z","dependencies_parsed_at":"2023-03-12T13:15:18.890Z","dependency_job_id":null,"html_url":"https://github.com/stepansnigirev/requests-bitcoin-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepansnigirev%2Frequests-bitcoin-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepansnigirev%2Frequests-bitcoin-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepansnigirev%2Frequests-bitcoin-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepansnigirev%2Frequests-bitcoin-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stepansnigirev","download_url":"https://codeload.github.com/stepansnigirev/requests-bitcoin-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240190927,"owners_count":19762593,"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-11-09T05:36:46.914Z","updated_at":"2025-02-22T14:49:53.599Z","avatar_url":"https://github.com/stepansnigirev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# requests-bitcoin-cli\n\nA tiny script to run Bitcoin JSON-RPC commands using requests\n\n## Usage\n\n```python\nfrom rpc import BitcoinCLI\n\n# port: 18332 - testnet, 18443 - regtest, 8332 - mainnet\ncli = BitcoinCLI(\"bitcoinrpc\", \"mysecretpassword\", port=18443)\n\nprint(cli.url)\n\nprint(cli.getmininginfo())\n\nprint(cli.listwallets())\n\n##### WORKING WITH WALLETS #########\n\n# specify wallet name as a key argument\nprint(cli.getbalance(wallet=\"\"))\n\n# or create a new instance for this wallet\nw = cli.wallet(\"mywallet\") # will load default wallet.dat\n\n# url will be different\nprint(w.url)\n\nprint(w.getbalance()) # now you can call commands for the wallet\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstepansnigirev%2Frequests-bitcoin-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstepansnigirev%2Frequests-bitcoin-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstepansnigirev%2Frequests-bitcoin-cli/lists"}