☰
Login
Signup
Home
›
PHP 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.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
458
Algorithms and Strategies
999
Java client
1.1K
API clients
404
PHP client
4K
Python client
348
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
August 2019
hitman1980
August 2019
rishiswethan
Get user details
hitman1980
August 2019
in
PHP client
Once the access token is generated and saved in database ..
Than can we use "access token" to fetch user details from zerodha?
I can't find any function in the lib file which will allow us to fetch user details like userid, amount available etc..
rishiswethan
August 2019
You can get amount available using kite.margins()
hitman1980
August 2019
Thanks .. It worked .. Although we can't get userid either using $kite->getProfile(); or $kite->getMargins();
I guess I need to store it from $user variable when session is created using $kite->generateSession
This discussion has been closed.
I guess I need to store it from $user variable when session is created using $kite->generateSession