I have a chrome extension that extends Kite functionality. As of now it is personal-use-only. At a particular event, it shows pre-filled custom BUY/SELL popups to enter or exit trades. I won't go into more or exact details, but just understand it is possible.
Now I want to publish a part of this chrome extension and want to use the Kite Publisher plugin for the BUY/SELL screens (for revenue sharing)
That looks possible based on the docs, however I am not clear about one thing - the Redirect URL. First, we don't have a valid https redirect URL in this case. And we don't need it either. Since the user is already logged in to Kite and using that interface, we don't even need the user to log in.
In JavaScript (in chrome-extension) I will use my api_key like this: var kite = new KiteConnect("your_api_key");
So my questions are: 1. Is Kite Publisher the right thing to use with a Chrome Extension? 2. If the user is not required to login - will Buy/Sell using the API key result in revenue sharing?
Thanks @Kailash. On (2) I agree that the users need to login. Let me elaborate it further:
The Kite session is started from kite.zerodha.com and not initiated by the publisher plugin. When the use clicks BUY/SELL on the Kite Publisher popup that uses my api key - will revenue sharing work? (Note - the session is initiated directly)
1) Kite Publisher is the right choice. In fact, we do this with the official Kite chrome extension.
2) Buy/sell only works for logged in users.
The Kite session is started from kite.zerodha.com and not initiated by the publisher plugin.
When the use clicks BUY/SELL on the Kite Publisher popup that uses my api key - will revenue sharing work? (Note - the session is initiated directly)