Clicky

  • Welcome to P2P Lending / NFT Lending Forum.
 

ETH.LOAN

News:

This was the original Lend Academy peer-to-peer lending forum, since forensically restored by deBanked and now reintroduced to eth.loan.

To restore access to your user account, email [email protected]. We apologize for errors you may experience during the recovery.

Main Menu
NEW LOANS:   | seaking.eth 1.500 Ξ | muk.eth 1.500 Ξ | torkoal.eth 0.200 Ξ | ALL

Lending Club API questions.

Started by Peter, April 22, 2015, 11:00:00 PM

Previous topic - Next topic

ernst20020530

I have really confused about the new API. I am new guy for python, then I tried following


 req = urllib2.Request('https://api.lendingclub.com/api/investor/v1/accounts/111111/summary" class="bbc_link" target="_blank">https://api.lendingclub.com/api/investor/v1/accounts/111111/summary')  #111111 is my account ID
    try: response = urllib2.urlopen(req)
    except urllib2.URLError as e:
        print e.reason

But the code always failed with error code  "Unauthorized ".

what's wrong with the code.


NEW LOANS:   | seaking.eth 1.500 Ξ | muk.eth 1.500 Ξ | torkoal.eth 0.200 Ξ | ALL