☰
Login
Signup
Home
›
Python client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.8K
All Categories
0
Incidents
154
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
May 2016
Kailash
API access for publisher
muke5hy
May 2016
in
Python client
Hi,
I have created and Publisher APP and when I try to run example code I get below error.
from kiteconnect import KiteConnect
kite = KiteConnect(api_key="MY_API_KEY")
print kite.login_url()
try:
user = kite.request_access_token(request_token="MY_request_token",
secret="MY_secret")
kite.set_access_token(user["access_token"])
except Exception as e:
print("Authentication failed", str(e))
raise
print(user["user_id"], "has logged in")
('Authentication failed', 'That API call is not allowed for the authenticated user')
Kailash
May 2016
@muke5hy
Kite Publisher is only for embedding trade buttons and rendering baskets. You need Kite Connect to use the APIs.
Sign In
or
Register
to comment.