Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs
    1. Home
    2. avinashm
    3. Topics
    A
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Topics created by avinashm

    • A

      LOGIN API
      Python SDK • • avinashm  

      2
      0
      Votes
      2
      Posts
      26
      Views

      S

      from smartapi import SmartConnect import pyotp global obj user_id = ("Your Angel One Account id") api_key = ("Api Key") pwd = "Mobile app pin " qrotp = "Your QRotp" totp = pyotp.TOTP(qrotp) totp = totp.now() obj = SmartConnect(api_key) data = obj.generateSession(user_id, pwd,totp) refreshToken= data['data']['refreshToken'] feedToken=obj.getfeedToken() userProfile= obj.getProfile(refreshToken) print(userProfile)
    • A

      log in api priblem
      Python SDK • • avinashm  

      2
      0
      Votes
      2
      Posts
      28
      Views

      T

      @avinashm said in log in api priblem: Error in login 'NoneType' object is not subscriptable use mpin bro