@James-Bond
python 3.6
pip 19.0.3
sayed
@sayed
Best posts made by sayed
Latest posts made by sayed
-
RE: Issue in getting responses from API
@James-Bond
Getting this error from long time.
-
RE: Issue in getting responses from API
@rajanprabu if i use angel python sdk i receive this errors
from OpenSSL import SSL
ModuleNotFoundError: No module named 'OpenSSL'Even after installing OpenSSL it is showing same.
-
RE: header details needed?
@djdenish Okay now i am able to login & establish tokens response, but could not get logout or fetch profile.
error:
conn.request("POST","/rest/secure/angelbroking/user/v1/logout",payload,headers)
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11004] getaddrinfo failed -
RE: socket.gaierror: [Errno 11004] getaddrinfo failed
@admin or anyone can find this?
-
RE: Issue in getting responses from API
@rajanprabu
hi can u explain what this error is?,
res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11004] getaddrinfo failed -
socket.gaierror: [Errno 11004] getaddrinfo failed
Getting error plz explain:
'''''''''
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 11004] getaddrinfo failed
'''''''''''import http.client
import mimetypes
conn = http.client.HTTPSConnection(
" apiconnect.angelbroking.com "
)
payload = ''
headers = headers = {
'Authorization': 'Bearer AUTHORIZATION_TOKEN',
'Accept': 'application/json',
'X-UserType': 'USER',
'X-SourceID': 'WEB',
'X-ClientLocalIP': 'CLIENT_LOCAL_IP',
'X-ClientPublicIP': 'CLIENT_PUBLIC_IP',
'X-MACAddress': 'MAC_ADDRESS',
'X-PrivateKey': 'API_KEY'
}
conn.request("GET",
"/rest/secure/angelbroking/user/
v1/getProfile",
payload,
headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8")) -
RE: SmartAPIs throw "AB1034 : Apps not found"
@harkal
Hi harkal, Can i get help from you upto the stage where you reached, I am also getting same error but mine never got logged in before.
Whatsapp 9944952095
rameez.basha99@gmail.com -
RE: header details needed?
I dont have public ip, i am using mobile hotspot.. plz help