I am using Javascript SDK of stackexchange API to get the data. First, i am logging in using the SDK and in return I am getting a JSON reponse about the details of the logged user of which, the user_id and token are of my use. Now, using the user_id or token, how can I fetch the count of questions, answers, reputation, badges and people reached of the user?
I will store the user_id and token in my database so that, whenever the user logins to my system, I will have to fetch the data i.e. reputation, badge count etc and show that in a dashboard to the user.
I want to fetch the data using AJAX in the client side.