I'm trying to generate an new address by this:
https://blockchain.info/merchant/$guid/new_address?password=$main_password&second_password=$second_password&label=$labelHowever, I always get the following error:
requests.exceptions.SSLError: [Errno 1] _ssl.c:503: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
my Python codes are like this:
import requests
import json
guid = "XXXX"
url = "https://blockchain.info/merchant/%s/new_address" % guid
params = dict(
password="main_pwd",
second_password="snd_pwd",
label="label"
)
resp = requests.get(url, params=params)
data = json.load(resp)
the exception raises when executing this line:
resp = requests.get(url, params=params)
Any help would be very much appreciated!!