Python Forum
Get request API - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Get request API (/thread-22417.html)



Get request API - gdfddcs544d - Nov-12-2019

Hello!

I use API:

https://www.blockchain.com/api/q

Trying to make a Get request:

url = 'https://www.blockchain.info/api/q/getreceivedbyaddress/' + strpod + '?confirmations=6'
zapros = requests.get(url)

But it returns the entire page.

And I only need the balance value.

Please help me.


RE: Get request API - Larz60+ - Nov-12-2019

what is the value of strpod?
can't construct url without.
better yet, show in context.