-
Notifications
You must be signed in to change notification settings - Fork 1
Me Section
/me are users equivalent methods that takes an access_token instead. These methods are provided for developer convenience, with the exception of plain /me, which is actually necessary for discovering which user authenticated to an application.
// me objectconst stack_me = stackexchange.me;
Get the users identified by a set of ids.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using users endpointstack_me.me( users_options, (response) => {console.log(response);});
Get the answers posted by the users identified by a set of ids.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_answers endpointstack_me.me_answers( users_options, (response) => {console.log(response);});
Get the badges earned by the users identified by a set of ids.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_badges endpointstack_me.me_badges( users_options, (response) => {console.log(response);});
Get the comments posted by the users identified by a set of ids.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_comments endpointstack_me.me_comments( users_options, (response) => {console.log(response);});
Get the comments posted by a set of users in reply to another user.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}//another user_idlet toid = 1427878;// using me_comments_to endpointstack_me.me_comments_to(toid, users_options, (response) => {console.log(response);});
Get the questions favorited by users identified by a set of ids.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_favorites endpointstack_me.me_favorites(users_options, (response) => {console.log(response);});
Get the comments that mention one of the users identified by a set of ids.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_mentioned endpointstack_me.me_mentioned(users_options, (response) => {console.log(response);});
Gets a user's activity across the Stack Exchange network.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_network_activity endpointstack_me.me_network_activity(users_options, (response) => {console.log(response);});
Get a user's notifications.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_notifications endpointstack_me.me_notifications(users_options, (response) => {console.log(response);});
Get a user's unread notifications.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_unread_notifications endpointstack_me.me_unread_notifications(users_options, (response) => {console.log(response);});
Get all posts (questions and answers) owned by a set of users.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_posts endpointstack_me.me_posts(users_options, (response) => {console.log(response);});
Get the privileges the given user has on the site.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_privileges endpointstack_me.me_privileges(users_options, (response) => {console.log(response);});
Get the questions asked by the users identified by a set of ids.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_questions endpointstack_me.me_questions(users_options, (response) => {console.log(response);});
Get the questions on which a set of users, have active bounties.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_featured_questions endpointstack_me.me_featured_questions(users_options, (response) => {console.log(response);});
Get the questions asked by a set of users, which have no answers.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_no_answer_questions endpointstack_me.me_no_answer_questions(users_options, (response) => {console.log(response);});
Get the questions asked by a set of users, which have at least one answer but no accepted answer.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_unaccepted_questions endpointstack_me.me_unaccepted_questions(users_options, (response) => {console.log(response);});
Get the questions asked by a set of users, which are not considered to be adequately answered.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_unanswered_questions endpointstack_me.me_unanswered_questions(users_options, (response) => {console.log(response);});
Get a subset of the reputation changes experienced by the users identified by a set of ids.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_reputation endpointstack_me.me_reputation(users_options, (response) => {console.log(response);});
Get a history of a user's reputation, excluding private events.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_reputation_history endpointstack_me.me_reputation_history(users_options, (response) => {console.log(response);});
Get a full history of a user's reputation. auth required
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_full_reputation_history endpointstack_me.me_full_reputation_history(users_options, (response) => {console.log(response);});
Get the suggested edits provided by users identified by a set of ids.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_suggested_edits endpointstack_me.me_suggested_edits(users_options, (response) => {console.log(response);});
Get the tags that the users (identified by a set of ids) have been active in.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_tags endpointstack_me.me_tags(users_options, (response) => {console.log(response);});
Get the top questions a user has posted with a set of tags.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}//user tagslet tags = "nodejs";// using me_tags_top_questions endpointstack_me.me_tags_top_questions(tags, users_options, (response) => {console.log(response);});
Get the top answers a user has posted on questions with a set of tags.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}//user tagslet tags = "nodejs";// using me_tags_top_answers endpointstack_me.me_tags_top_answers(tags, users_options, (response) => {console.log(response);});
Get the top tags (by score) a single user has posted answers in.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_top_answer_tags endpointstack_me.me_top_answer_tags( users_options, (response) => {console.log(response);});
Get the top tags (by score) a single user has asked questions in.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_top_question_tags endpointstack_me.me_top_question_tags( users_options, (response) => {console.log(response);});
Get a subset of the actions of that have been taken by the users identified by a set of ids.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_timeline endpointstack_me.me_timeline(users_options, (response) => {console.log(response);});
Get the top tags (by score) a single user has posted in.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_top_tags endpointstack_me.me_top_tags( users_options, (response) => {console.log(response);});
Get a user's inbox. auth required
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_inbox endpointstack_me.me_inbox( users_options, (response) => {console.log(response);});
Get the unread items in a user's inbox. auth required
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_unread_inbox endpointstack_me.me_unread_inbox( users_options, (response) => {console.log(response);});
Get a user's associated accounts.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_associated_users endpointstack_me.me_associated_users(users_options, (response) => {console.log(response);});
Get the merges a user's accounts has undergone.
//options for userslet users_options = {"key": "your_key","access_token": "your_token"}// using me_merge_history endpointstack_me.me_merge_history(inbox_options, (response) => {console.log(response);});