Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. sayed
    3. Posts
    S
    • Profile
    • Following 3
    • Followers 0
    • Topics 2
    • Posts 13
    • Best 0
    • Groups 0

    Posts made by sayed

    • RE: Issue in getting responses from API

      @James-Bond
      python 3.6
      pip 19.0.3

      posted in Python SDK
      S
      sayed
    • RE: Issue in getting responses from API

      @James-Bond
      Getting this error from long time.
      b5dbedf9-c932-4e57-9c02-8581eb16fb74-image.png

      posted in Python SDK
      S
      sayed
    • 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.

      posted in Python SDK
      S
      sayed
    • 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

      posted in Python SDK
      S
      sayed
    • RE: socket.gaierror: [Errno 11004] getaddrinfo failed

      @admin or anyone can find this?

      posted in Python SDK
      S
      sayed
    • RE: Issue in getting responses from API

      @rajanprabu okay

      posted in Python SDK
      S
      sayed
    • 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

      posted in Python SDK
      S
      sayed
    • 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"))

      posted in Python SDK
      S
      sayed
    • 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

      posted in General Discussion
      S
      sayed
    • RE: header details needed?

      @sayed

      I dont have public ip, i am using mobile hotspot.. plz help

      posted in Python SDK
      S
      sayed
    • RE: header details needed?

      @admin

      do i need to provide public ip & my local; ip address?

      posted in Python SDK
      S
      sayed
    • header details needed?

      What are the things to be filled please help!
      payload = "{\n"clientcode":"S162966",\n"password":"**********"\n}"
      headers = {
      'Content-Type': 'application/json',
      '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'
      }

      posted in Python SDK
      S
      sayed
    • RE: "YOUR USER ID OR PASSWORD IS INVALID","errorcode":"AB1007"

      {"message":"Something Went Wrong, Please Try After Sometime","errorcode":"AB1004","status":false,"data":null}

      I am getting this above error
      my client code is S162966

      posted in General Discussion
      S
      sayed