<p>You can use RPC bitcoin framework for creating the request to the node to get information.</p>

<p>With python exist more library, I preferer this <a href="https://github.com/jgarzik/python-bitcoinrpc" rel="nofollow noreferrer">python-bitcoinrpc</a> but a list the library is <a href="https://github.com/search?l=Python&amp;q=bitcoin%20rpc&amp;type=Repositories" rel="nofollow noreferrer">here</a></p>

<p>For configuring the node to accepting the request look this <a href="https://en.bitcoinwiki.org/wiki/Bitcoind" rel="nofollow noreferrer">reference</a> </p>

<p>other util references</p>

<ul>
<li><a href="https://github.com/Bitcoin-ABC/bitcoin-abc/blob/master/contrib/debian/examples/bitcoin.conf" rel="nofollow noreferrer">Complete bitcoin.conf file</a></li>
<li><a href="https://jlopp.github.io/bitcoin-core-config-generator/" rel="nofollow noreferrer">Gui generator bitcoin.conf</a></li>
<li><a href="https://en.bitcoin.it/wiki/API_reference_(JSON-RPC)" rel="nofollow noreferrer">Api reference with other language</a></li>
<li><a href="https://bitcoincore.org/en/doc/" rel="nofollow noreferrer">Official documantation command rpc</a></li>
</ul>

CC BY-SA 4.0
2019-09-16T10:16:45.267Z
I try to establish a rpc connection with the AuthServiceProxy method from bitcoinrpc with the following parameters:  AuthServiceProxy ("http://casa-node.lan:mycasapassword@mycasaip:8332") but I get no acces.
kristofpouls
CC BY-SA 4.0
2019-09-16T12:14:47.250Z
Do you have an error in the stack-trace python? if you want an example for using the library, I wrote this simple script for creating a simple console GUI this is the [code](https://gist.github.com/vincenzopalazzo/1f1245ab200ed59a0604dee134f42863) if you have an error with my code, please public your bitcoin.conf and your bitcoin configuration
vincenzopalazzo
CC BY-SA 4.0
2019-09-14T07:59:40.420Z
2019-09-14T07:59:40.420Z
vincenzopalazzo
<p>I have a bitcoin-core full node running and I want to access my node in Python, how can I retrieve the blockchain info?</p>

<bitcoin-core><bitcoind><full-node>
Acces Casa full node with Python
kristofpouls
# Acces Casa full node with Python

(Asked by: username_0 on 2019-09-14)

I have a bitcoin-core full node running and I want to access my node in Python, how can I retrieve the blockchain info?

**Tags:** bitcoin-core, bitcoind, full-node


---

## 1 answers

### Answer by username_1 on 2019-09-14. Score: 1

You can use RPC bitcoin framework for creating the request to the node to get information.

With python exist more library, I preferer this [python-bitcoinrpc](https://github.com/jgarzik/python-bitcoinrpc) but a list the library is [here](https://github.com/search?l=Python&q=bitcoin%20rpc&type=Repositories)

For configuring the node to accepting the request look this [reference](https://en.bitcoinwiki.org/wiki/Bitcoind)

other util references

* [Complete bitcoin.conf file](https://github.com/Bitcoin-ABC/bitcoin-abc/blob/master/contrib/debian/examples/bitcoin.conf)
* [Gui generator bitcoin.conf](https://jlopp.github.io/bitcoin-core-config-generator/)
* [Api reference with other language](https://en.bitcoin.it/wiki/API_reference_(JSON-RPC))
* [Official documantation command rpc](https://bitcoincore.org/en/doc/)

> **Comments:**
> **username_0**: I try to establish a rpc connection with the AuthServiceProxy method from bitcoinrpc with the following parameters:  AuthServiceProxy ("http://casa-node.lan:mycasapassword@mycasaip:8332") but I get no acces.  
> **username_1**: Do you have an error in the stack-trace python? if you want an example for using the library, I wrote this simple script for creating a simple console GUI this is the [code](https://gist.github.com/username_1/1f1245ab200ed59a0604dee134f42863) if you have an error with my code, please public your bitcoin.conf and your bitcoin configuration  

---

