{"id":21700747,"url":"https://github.com/karthikgangadhar/stack-exchange","last_synced_at":"2025-04-12T13:35:22.427Z","repository":{"id":27095119,"uuid":"112460180","full_name":"KarthikGangadhar/stack-exchange","owner":"KarthikGangadhar","description":"This is a simple npm module that provides wrapper to access StackOverflow API.","archived":false,"fork":false,"pushed_at":"2022-01-10T17:46:49.000Z","size":152,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-08T05:42:27.372Z","etag":null,"topics":["badge","privilages","questions-favorited","questions-identified","reputation","request","revision","stackexchange","stackexchange-api","stackoverflow","stackoverflow-answer","stackoverflow-api","stackoverflow-questions","unanswered-questions","unread-notifications","user-identifier","user-inbox","user-notifications","util"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/stack-exchange","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KarthikGangadhar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-29T10:18:46.000Z","updated_at":"2022-11-16T13:12:51.000Z","dependencies_parsed_at":"2022-08-07T12:15:24.217Z","dependency_job_id":null,"html_url":"https://github.com/KarthikGangadhar/stack-exchange","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KarthikGangadhar%2Fstack-exchange","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KarthikGangadhar%2Fstack-exchange/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KarthikGangadhar%2Fstack-exchange/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KarthikGangadhar%2Fstack-exchange/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KarthikGangadhar","download_url":"https://codeload.github.com/KarthikGangadhar/stack-exchange/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226392980,"owners_count":17617996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["badge","privilages","questions-favorited","questions-identified","reputation","request","revision","stackexchange","stackexchange-api","stackoverflow","stackoverflow-answer","stackoverflow-api","stackoverflow-questions","unanswered-questions","unread-notifications","user-identifier","user-inbox","user-notifications","util"],"created_at":"2024-11-25T20:16:36.726Z","updated_at":"2024-11-25T20:16:37.854Z","avatar_url":"https://github.com/KarthikGangadhar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stack-exchange\n\n[![NPM](https://nodei.co/npm/stack-exchange.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/stack-exchange/)\n\nThe [stack-exchange](https://api.stackexchange.com/docs) is a simple npm module that provides a wrapper to access StackOverflow API endpoint.\n\n[![Build Status](https://travis-ci.org/KarthikGangadhar/stack-exchange.svg \"Build Status = Tests Passing\")](https://travis-ci.org/KarthikGangadhar/stack-exchange)\n[![npm version](https://badge.fury.io/js/stack-exchange.svg)]()\n[![Node.js Version](https://img.shields.io/node/v/stack-exchange.svg?style=flat \"Node.js 10 \u0026 12 and io.js latest both supported\")](http://nodejs.org/download/)\n[![Known Vulnerabilities](https://snyk.io/test/github/KarthikGangadhar/stack-exchange/badge.svg?targetFile=package.json)](https://snyk.io/test/github/KarthikGangadhar/stack-exchange?targetFile=package.json)\n\n## Installation\nInstallation is done using the npm install command:\n```js\n$ npm install stack-exchange\n```\n\n## Quick Start\n\nYou can make 300 requests without a key per day, with a key you can make 10,000 requests. To generate key visit [here](https://stackapps.com/apps/oauth/register).The sections are as follows\n\n* [Users section](https://www.npmjs.com/package/stack-exchange#users-section)\n* [Me section](https://www.npmjs.com/package/stack-exchange#me-section)\n* [Questions section](https://www.npmjs.com/package/stack-exchange#questions-section)\n* [Answers section](https://www.npmjs.com/package/stack-exchange#answers-section)\n* [Badges section](https://www.npmjs.com/package/stack-exchange#badges-section)\n* [Tags section](https://www.npmjs.com/package/stack-exchange#tags-section)\n* [Comments section](https://www.npmjs.com/package/stack-exchange#comments-section)\n* [Posts section](https://www.npmjs.com/package/stack-exchange#posts-section)\n* [Search section](https://www.npmjs.com/package/stack-exchange#search-section)\n* [Suggested Edits section](https://www.npmjs.com/package/stack-exchange#suggested_edits-section)\n* [Network section](https://www.npmjs.com/package/stack-exchange#network-section)\n* [Info section](https://www.npmjs.com/package/stack-exchange#info-section)\n* [privileges section](https://www.npmjs.com/package/stack-exchange#privileges-section)\n* [Revisions section](https://www.npmjs.com/package/stack-exchange#revisions-section)\n* [Events section](https://www.npmjs.com/package/stack-exchange#events-section)\n\nFor more details about the endpoints on each section visit [table-of-content](https://www.npmjs.com/package/stack-exchange#table-of-content). To use above mentioned sections endpoints, you need to create their respective sections objects as follows:\n\n```javascript\n// You can specify the version of api you want to use by passing object with version field.\n// if version is not provided, by default api response with version 2.2 will be provided\n\nconst stackexchange  = require(\"stack-exchange\")({ version : \"2.2\" });\n\nconst stack_users = stackexchange.users;//for users sections endpoints\nconst stack_me = stackexchange.me;//for me sections endpoints\nconst stack_questions = stackexchange.questions; //for questions sections endpoints\nconst stack_answers = stackexchange.answers; //for answers sections endpoints\nconst stack_badges = stackexchange.badges; //for badges sections endpoints\nconst stack_tags = stackexchange.tags; //for tags sections endpoints\nconst stack_comments = stackexchange.comments;//for comments sections endpoints\nconst stack_posts = stackexchange.posts;//for posts sections endpoints\nconst stack_search = stackexchange.search;//for search sections endpoints\nconst stack_suggested_edits = stackexchange.suggested_edits;//for suggested_edits sections endpoints\nconst stack_network = stackexchange.network;//for network sections endpoints\nconst stack_info = stackexchange.info; //for info sections endpoints\nconst stack_privileges = stackexchange.privileges; //for privileges sections endpoints\nconst stack_revisions = stackexchange.revisions; //for revisions sections endpoints\nconst stack_events = stackexchange.events; //for events sections endpoints\n```\n\n## users section\nAll user methods that take an {ids} parameter have a /me equivalent method that takes an access_token instead.\n\n```js\n\n//  users object\nconst stack_users = stackexchange.users;\n\n```\n\n#### users\nGet all users on the site.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n // using users endpoint\nstack_users.users(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### users_by_ids\nGet the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using users_by_ids endpoint\nstack_users.users_by_ids(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### answers_on_users\nGet the answers posted by the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using answers_on_users endpoint\nstack_users.answers_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### badges_on_users\nGet the badges earned by the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using badges_on_users endpoint\nstack_users.badges_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### comments_on_users\nGet the comments posted by the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using comments_on_users endpoint\nstack_users.comments_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### comments_by_users_to_user\nGet the comments posted by a set of users in reply to another user.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// id of another user\nlet toid = 1427878;\n\n// using comments_by_users_to_user endpoint\nstack_users.comments_by_users_to_user(user_ids, toid , users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### favorites_on_users\nGet the questions favorited by users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using favorites_on_users endpoint\nstack_users.favorites_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### mentions_on_users\nGet the comments that mention one of the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using mentions_on_users endpoint\nstack_users.mentions_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### users_network_activity\nGets a user's activity across the Stack Exchange network.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using users_network_activity endpoint\nstack_users.users_network_activity(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### user_notifications\nGet a user's notifications.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using user_notifications endpoint\nstack_users.user_notifications(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### user_unread_notifications\nGet a user's unread notifications.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using user_unread_notifications endpoint\nstack_users.user_unread_notifications(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### posts_on_users\nGet all posts (questions and answers) owned by a set of users.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using posts_on_users endpoint\nstack_users.posts_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### privileges_on_users\nGet the privileges the given user has on the site.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using privileges_on_users endpoint\nstack_users.privileges_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### questions_on_users\nGet the questions asked by the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using questions_on_users endpoint\nstack_users.questions_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### featured_questions_on_users\nGet the questions on which a set of users, have active bounties.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using featured_questions_on_users endpoint\nstack_users.featured_questions_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### no_answer_questions_on_users\nGet the questions asked by a set of users, which have **no** answers.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using no_answer_questions_on_users endpoint\nstack_users.no_answer_questions_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n\n#### unaccepted_questions_on_users\nGet the questions asked by a set of users, which have at least one answer but no accepted answer.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using unaccepted_questions_on_users endpoint\nstack_users.unaccepted_questions_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### unanswered_questions_on_users\nGet the questions asked by a set of users, which are not considered to be adequately answered.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using unanswered_questions_on_users endpoint\nstack_users.unanswered_questions_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### reputation_on_users\nGet a subset of the reputation changes experienced by the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using reputation_on_users endpoint\nstack_users.reputation_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### reputation_history\nGet a history of a user's reputation, excluding private events.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using reputation_history endpoint\nstack_users.reputation_history(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### full_reputation_history\nGet a full history of a user's reputation. **auth required**\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using full_reputation_history endpoint\nstack_users.full_reputation_history(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### tags_on_users\nGet the tags that the users (identified by a set of ids) have been active in.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using tags_on_users endpoint\nstack_users.tags_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### suggested_edits_on_users\nGet the suggested edits provided by users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using suggested_edits_on_users endpoint\nstack_users.suggested_edits_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n\n#### top_user_answers_in_tags\nGet the top answers a user has posted on questions with a set of tags.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n//user tags\nlet tags = \"nodejs\";\n\n// using top_user_answers_in_tags endpoint\nstack_users.top_user_answers_in_tags(user_ids, tags,  users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### top_user_questions_in_tags\nGet the top questions a user has posted with a set of tags.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n//user tags\nlet tags = \"nodejs\";\n\n// using top_user_questions_in_tags endpoint\nstack_users.top_user_questions_in_tags(user_ids, tags,  users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### timeline_on_users\nGet a subset of the actions of that have been taken by the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using timeline_on_users endpoint\nstack_users.timeline_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### top_answer_tags_on_users\nGet the top tags (by score) a single user has posted answers in.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using top_answer_tags_on_users endpoint\nstack_users.top_answer_tags_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### top_tags_on_users\nGet the top tags (by score) a single user has posted in.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using top_tags_on_users endpoint\nstack_users.top_tags_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### top_question_tags_on_users\nGet the top tags (by score) a single user has asked questions in.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using top_question_tags_on_users endpoint\nstack_users.top_question_tags_on_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### moderators\nGet the users who have moderation powers on the site.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using moderators endpoint\nstack_users.moderators(users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### elected_moderators\nGet the users who are active moderators who have also won a moderator election.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using elected_moderators endpoint\nstack_users.elected_moderators(users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### user_inbox\nGet a user's inbox. **auth required**\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using user_inbox endpoint\nstack_users.user_inbox(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### user_unread_inbox\nGet the unread items in a user's inbox. **auth required**\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using user_unread_inbox endpoint\nstack_users.user_unread_inbox(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### associated_users\nGet a user's associated accounts.\n\n```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using associated_users endpoint\nstack_users.associated_users(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### merge_history\nGet the merges a user's accounts has undergone.\n\n```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// id of the user\nlet user_ids = \"6414102\";\n\n// using merge_history endpoint\nstack_users.merge_history(user_ids, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n\n\n\n## me section\n/me are users equivalent methods that takes an **access_token** instead. These methods are provided for developer convenience, with the exception of plain [/me](https://api.stackexchange.com/docs/me), which is actually necessary for discovering which user [authenticated](https://api.stackexchange.com/docs/authentication) to an application.\n\n```js\n\n//  me object\nconst stack_me = stackexchange.me;\n\n```\n\n#### me\nGet the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n // using users endpoint\nstack_me.me( users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_answers\nGet the answers posted by the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_answers endpoint\nstack_me.me_answers( users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### me_badges\nGet the badges earned by the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_badges endpoint\nstack_me.me_badges( users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### me_comments\nGet the comments posted by the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_comments endpoint\nstack_me.me_comments( users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_comments_to\nGet the comments posted by a set of users in reply to another user.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//another user_id\nlet toid = 1427878;\n\n\n// using me_comments_to endpoint\nstack_me.me_comments_to(toid, users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_favorites\nGet the questions favorited by users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_favorites endpoint\nstack_me.me_favorites(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_mentioned\nGet the comments that mention one of the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_mentioned endpoint\nstack_me.me_mentioned(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n\n```\n\n\n#### me_network_activity\nGets a user's activity across the Stack Exchange network.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_network_activity endpoint\nstack_me.me_network_activity(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_notifications\nGet a user's notifications.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_notifications endpoint\nstack_me.me_notifications(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_unread_notifications\nGet a user's unread notifications.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_unread_notifications endpoint\nstack_me.me_unread_notifications(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n\n#### me_posts\nGet all posts (questions and answers) owned by a set of users.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_posts endpoint\nstack_me.me_posts(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n\n```\n\n#### me_privileges\nGet the privileges the given user has on the site.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_privileges endpoint\nstack_me.me_privileges(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_questions\nGet the questions asked by the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_questions endpoint\nstack_me.me_questions(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n\n#### me_featured_questions\nGet the questions on which a set of users, have active bounties.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_featured_questions endpoint\nstack_me.me_featured_questions(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_no_answer_questions\nGet the questions asked by a set of users, which have **no** answers.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_no_answer_questions endpoint\nstack_me.me_no_answer_questions(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n\n```\n\n\n#### me_unaccepted_questions\nGet the questions asked by a set of users, which have at least one answer but no accepted answer.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_unaccepted_questions endpoint\nstack_me.me_unaccepted_questions(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_unanswered_questions\nGet the questions asked by a set of users, which are not considered to be adequately answered.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_unanswered_questions endpoint\nstack_me.me_unanswered_questions(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_reputation\nGet a subset of the reputation changes experienced by the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_reputation endpoint\nstack_me.me_reputation(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_reputation_history\nGet a history of a user's reputation, excluding private events.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_reputation_history endpoint\nstack_me.me_reputation_history(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_full_reputation_history\nGet a full history of a user's reputation. **auth required**\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_full_reputation_history endpoint\nstack_me.me_full_reputation_history(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_suggested_edits\nGet the suggested edits provided by users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_suggested_edits endpoint\nstack_me.me_suggested_edits(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_tags\nGet the tags that the users (identified by a set of ids) have been active in.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_tags endpoint\nstack_me.me_tags(users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### me_tags_top_questions\nGet the top questions a user has posted with a set of tags.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//user tags\nlet tags = \"nodejs\";\n\n// using me_tags_top_questions endpoint\nstack_me.me_tags_top_questions(tags, users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### me_tags_top_answers\nGet the top answers a user has posted on questions with a set of tags.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n//user tags\nlet tags = \"nodejs\";\n\n// using me_tags_top_answers endpoint\nstack_me.me_tags_top_answers(tags, users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### me_top_answer_tags\nGet the top tags (by score) a single user has posted answers in.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_top_answer_tags endpoint\nstack_me.me_top_answer_tags( users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### me_top_question_tags\nGet the top tags (by score) a single user has asked questions in.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_top_question_tags endpoint\nstack_me.me_top_question_tags( users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_timeline\nGet a subset of the actions of that have been taken by the users identified by a set of ids.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_timeline endpoint\nstack_me.me_timeline(users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### me_top_tags\nGet the top tags (by score) a single user has posted in.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_top_tags endpoint\nstack_me.me_top_tags( users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### me_inbox\nGet a user's inbox. **auth required**\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_inbox endpoint\nstack_me.me_inbox( users_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n\n#### me_unread_inbox\nGet the unread items in a user's inbox. **auth required**\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_unread_inbox endpoint\nstack_me.me_unread_inbox( users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n#### me_associated_users\nGet a user's associated accounts.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_associated_users endpoint\nstack_me.me_associated_users(users_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### me_merge_history\nGet the merges a user's accounts has undergone.\n\n ```js\n//options for users\nlet users_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using me_merge_history endpoint\nstack_me.me_merge_history(inbox_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n## questions section\n\nThe options object is optional, can be an empty object also. update all your query fields in it. supported query fields are as follows:\n\n```js\nlet options  = {\n    \"order\": \"desc\",\n    \"sort\": \"activity\",\n    \"site\": \"stackoverflow\",\n    \"key\" : \"your_key\"\n}\n\n//  questions object\nconst stack_questions = stackexchange.questions;\n```\n\n#### questions\n Get all questions on the site.\n\n ```js\n // using questions endpoint\nstack_questions.questions(options , (response) =\u003e {\n    // response will be json\n    console.log(response);\n });\n```\n#### questions by ids\nGet the questions identified by a set of ids.\n\n ```js\n ids = \"47559184\"\n // using questions_by_ids endpoint\n stack_questions.questions_by_ids(ids , options , (response) =\u003e {\n    // response will be json\n    console.log(response);\n });\n```\n\n\n#### answers on questions\nGet the answers to the questions identified by a set of ids.\n ```js\n id = \"47596027\"\n // using answers_on_questions endpoint\n stack_questions.answers_on_questions(id, options , (response) =\u003e {\n    // response will be json\n    console.log(response);\n });\n```\n\n#### render answers\n\n Renders a hypothetical answer to a question. This is a post endpoints, the options section looks like this, both fields are required.\n ```js\n  let options = {\n    \"body\": \"hello\",\n    \"site\": \"stackoverflow\"\n}\n\n// id of the question\n let id = \"47596027\"\n\n // using render_answer endpoint\nstack_questions.render_answer(id, options , (response) =\u003e {\n   // response returns hypothetical solution\n    console.log(response);\n});\n```\n\n#### linked questions\nGet the questions that link to the questions identified by a set of ids.\n\n ```js\n // id of the question\n let id = \"1884724\";\n\n // using answers_on_questions endpoint\n stack_questions.linked_questions(id, options , (response) =\u003e {\n    console.log(response);\n });\n\n```\n\n#### related questions\nGet the questions that are related to the questions identified by a set of ids.\n\n ```js\n // id of the question\n let id = \"37878662\";\n\n // using related_questions endpoint\n stack_questions.related_questions(id, options , (response) =\u003e {\n        console.log(response);\n });\n\n```\n\n\n#### questions timeline\nGet the timelines of the questions identified by a set of ids.\n\n ```js\n // id of the question\n let id = \"37878662\";\n\n // using questions_timeline endpoint\nstack_questions.questions_timeline(id, options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### featured questions\nGet all questions on the site with active bounties.\n\n ```js\n\n // using featured_questions endpoint\nstack_questions.featured_questions(options, (response) =\u003e {\n      //will return featured questions\n    console.log(response);\n});\n\n```\n\n#### no answer questions\nGet all questions on the site with no answers.\n\n ```js\n\n // using no_answer_questions endpoint\nstack_questions.no_answer_questions( options , (response) =\u003e {\n   // will return no-answer questions\n    console.log(response);\n });\n```\n\n\n\n#### unanswered questions\nGet all questions the site considers unanswered.\n\n ```js\n\n // using unanswered_questions endpoint\nstack_questions.unanswered_questions( options , (response) =\u003e {\n    //returns unanswered questions details\n    console.log(response);\n });\n```\n\n\n\n#### unanswered questions my tags\n\nGet questions the site considers unanswered within a user's favorite or interesting tags. **auth required** This endpoint required access_token and key in options.\n ```js\n\n // using unanswered_questions_my_tags endpoint\nstack_questions.unanswered_questions_my_tags( options , (response) =\u003e {\n    console.log(response);\n });\n```\n\n#### question flag options\n\nReturns valid flag options for the given question. **auth required**. This endpoint required access_token and key in options.\n ```js\nlet options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\",\n    \"site\": \"stackoverflow\"\n}\n\nlet question_id = \"37878662\";\n\n // using question_flag_options endpoint\nstack_questions.question_flag_options(question_id, options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### question close options\n\nReturns valid flag options which are also close reasons for the given question. **auth required**. This endpoint required access_token and key in options.\n ```js\nlet options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\",\n    \"site\": \"stackoverflow\"\n}\n\nlet question_id = \"37878662\";\n\n // using question_close_options endpoint\nstack_questions.question_close_options(question_id, options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### comments on questions\n\nGet the comments on the questions identified by a set of ids. This endpoint required access_token and key in options.\n ```js\nlet options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\",\n    \"site\": \"stackoverflow\"\n}\n\nlet question_id = \"45934757\";\n\n // using comments_on_questions endpoint\nstack_questions.comments_on_questions(question_id, options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n## answers section\n\nThe options object is optional, can be an empty object also. update all your query fields in it.\n\n```js\n\n//  answers object\nconst stack_answers = stackexchange.answers;\n```\n\n#### answers\n Get all answers on the site.\n\n ```js\n // answer query options\n let options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n // using answers endpoint\nstack_answers.answers(answers_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### answers_by_ids\n Get answers identified by a set of ids.\n\n ```js\n // query options\n let options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the answer\nlet answer_id = \"6414102\";\n\n // using answers_by_ids endpoint\nstack_answers.answers_by_ids(answer_id, answers_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### accept_answer\n Casts an accept vote on the given answer. **auth required**\n\n ```js\n // query options\n let options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the answer\nlet answer_id = \"6414102\";\n\n // using accept_answer endpoint\nstack_answers.accept_answer(answer_id, answers_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### undo_accept_answer\n Undoes an accept vote on the given answer. **auth required**\n\n ```js\n // query options\n let options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the answer\nlet answer_id = \"47451356\";\n\n // using undo_accept_answer endpoint\nstack_answers.undo_accept_answer(answer_id, answers_options, (response) =\u003e {\n    console.log(response);\n});\n```\n#### comments_on_answers\n Get comments on the answers identified by a set of ids.\n\n ```js\n // query options\n let options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the answer\nlet answer_id = \"37886434\";\n\n // using comments_on_answers endpoint\nstack_answers.comments_on_answers(answer_id, answers_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n## badges section\n\n```js\nlet badges_options = {\n    \"site\": \"stackoverflow\",\n    \"key\": \"U4DMV*8nvpm3EOpvf69Rxw((\"\n}\n\n//  badges object\nconst stack_badges = stackexchange.badges;\n\n```\n\n#### badges\nGet all badges on the site, in alphabetical order.\n\n ```js\n // using badges endpoint\nstack_badges.badges(badges_options, (response) =\u003e {\n    // response will be json\n    console.log(response);\n});\n\n```\n\n#### badges_by_id\nGet the badges identified by ids.\n\n ```js\n// id of the badge\nlet id = \"222\"\n // using badges_by_id endpoint\nstack_badges.badges_by_id(id, badges_options, (response) =\u003e {\n    // response will be json\n    console.log(response);\n});\n\n```\n#### badges_by_name\n Get all non-tagged-based badges in alphabetical order.\n\n ```js\n\n// name of the badge\nlet name = \"fanatic\"\n\n // using badges_by_name endpoint\nstack_badges.badges_by_name(name, badges_options, (response) =\u003e {\n    // response will be json\n    console.log(response);\n});\n\n```\n\n#### badge_recipients\nGet badges recently awarded on the site.\n\n ```js\n//  options fields are as follows\n let options = {\n        \"site\": \"stackoverflow\"\n    }\n\n // using badge_recipients endpoint\nstack_badges.badge_recipients( options, (response) =\u003e {\n    // response will be json\n    console.log(response);\n});\n\n```\n\n#### badge_recipients_by_id\nGet the recent recipients of the given badges.\n\n ```js\n //  options fields are as follows\n let options = {\n        \"site\": \"stackoverflow\"\n    }\n\n// id of the badge\nlet id = \"222\"\n // using badge_recipients_by_id endpoint\nstack_badges.badge_recipients_by_id(id,  badges_options, (response) =\u003e {\n    // response will be json\n    console.log(response);\n});\n\n```\n\n\n#### badge_by_tags\nGet all tagged-based badges in alphabetical order.\n\n ```js\n//  options fields are as follows\n let options = {\n        \"order\": \"desc\",\n        \"sort\": \"popular\",\n        \"site\": \"stackoverflow\"\n    }\n\n // using badge_by_tags endpoint\nstack_badges.badge_by_tags(options, (response) =\u003e {\n    // response will be json\n    console.log(response);\n});\n\n```\n## tags section\n```js\nlet tags_options = {\n    \"site\": \"stackoverflow\",\n    \"key\": \"your_key\"\n}\n\n\n//  tags object\nconst stack_tags = stackexchange.tags;\n```\n\n#### tags\nGet the tags on the site.\n\n ```js\n // using tags endpoint\nstack_tags.tags(tags_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### tags by name\nGet tags on the site by their names.\n\n ```js\n //tag name for search\n let tag_name = \"nodejs\"\n // using tags_by_name endpoint\nstack_tags.tags_by_name(tag_name, tags_options, (response) =\u003e {\n    console.log(response);\n});\n```\n#### moderator only tags\nGet the tags on the site that only moderators can use.\n\n ```js\n // using moderator_only_tags endpoint\nstack_tags.moderator_only_tags(tags_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### require tags\nGet the tags on the site that fulfill required tag constraints.\n\n ```js\n // using require_tags endpoint\nstack_tags.require_tags(tags_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### tag synonyms\nGet all the tag synonyms on the site.\n\n ```js\n // using tag_synonyms endpoint\nstack_tags.tag_synonyms(tags_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### faqs by tags\nGet frequently asked questions in a set of tags.\n\n ```js\n //tag name for search\n let tag_name = \"nodejs\"\n // using faqs_by_tags endpoint\nstack_tags.faqs_by_tags(tag_name, tags_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### related tags\nGet related tags, based on common tag pairings.\n\n ```js\n //tag name for search\n let tag_name = \"nodejs\"\n // using related_tags endpoint\nstack_tags.related_tags(tag_name, tags_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### synonyms by tags\nGet the synonyms for a specific set of tags.\n\n ```js\n //tag name for search\n let tag_name = \"nodejs\"\n // using synonyms_by_tags endpoint\nstack_tags.synonyms_by_tags(tag_name, tags_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### top answerers on tags\nGet the top answer posters in a specific tag, either in the last month or for all time.\n\n ```js\n //tag name for search\n let tag_name = \"java\"\n // using top_answerers_on_tags endpoint\nstack_tags.top_answerers_on_tags(tag_name, tags_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### top askers on tags\nGet the top question askers in a specific tag, either in the last month or for all time.\n\n ```js\n //tag name for search\n let tag_name = \"java\"\n // using top_askers_on_tags endpoint\nstack_tags.top_askers_on_tags(tag_name, tags_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### wikis by tags\nGet the wiki entries for a set of tags.\n\n ```js\n //tag name for search\n let tag_name = \"java\"\n // using wikis_by_tags endpoint\nstack_tags.wikis_by_tags(tag_name, tags_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n## comments section\n\n```js\n\n//  comments object\nconst stack_comments = stackexchange.comments;\n\n\n```\n\n#### comments\nGet all comments on the site. comments_options can be empty object.\n\n ```js\n\n let comments_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n // using comments endpoint\nstack_comments.comments(comments_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### comments_by_ids\nGet comments identified by a set of ids.\n\n ```js\n//options for comments\n let comments_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the comment\nlet comment_id = \"131321\";\n\n// using comments_by_ids endpoint\nstack_comments.comments_by_ids(comment_id, comments_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### delete_comment\nDelete a comment identified by its id. **auth required**\n\n ```js\n//options for comments\n let comments_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the comment\nlet comment_id = \"12135\";\n\n// using delete_comment endpoint\nstack_comments.delete_comment(comment_id, comments_options, (response) =\u003e {\n    console.log(response);\n});\n\n\n```\n\n#### edit_comment\nEdit a comment identified by its id. **auth required**. body is required in options\n\n ```js\n//options for comments\n let comments_options = {\n    \"body\": \"edited comment\"\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the comment\nlet comment_id = \"12135\";\n\n// using edit_comment endpoint\nstack_comments.edit_comment(comment_id, comments_options, (response) =\u003e {\n    console.log(response);\n});\n\n\n```\n\n#### create_comment_flag\nCasts a flag on the given comment. **auth required**. option_id is required in options\n\n ```js\n//options for comments\n let comments_options = {\n    \"option_id\": \"1323\"\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the comment\nlet comment_id = \"12135\";\n\n// using create_comment_flag endpoint\nstack_comments.create_comment_flag(comment_id, comments_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### comment_flag_options\nReturns valid flag options for the given comment. **auth required**\n\n ```js\n//options for comments\n let comments_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the comment\nlet comment_id = \"12135\";\n\n// using comment_flag_options endpoint\nstack_comments.comment_flag_options(comment_id, comments_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### upvote_comment\nCasts an upvote on the given comment. **auth required**\n\n ```js\n//options for comments\n let comments_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the comment\nlet comment_id = \"12135\";\n\n// using upvote_comment endpoint\nstack_comments.upvote_comment(comment_id, comments_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### undo_upvote_comment\nUndoes an upvote on the given comment. **auth required**\n\n ```js\n//options for comments\n let comments_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the comment\nlet comment_id = \"12135\";\n\n// using undo_upvote_comment endpoint\nstack_comments.undo_upvote_comment(comment_id, comments_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n## posts section\n\n```js\n\n//  posts object\nconst stack_posts = stackexchange.posts;\n\n```\n\n#### posts\nGet all posts (questions and answers) in the system. posts_options can be empty object.\n\n ```js\n\n let posts_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n // using posts endpoint\nstack_posts.posts(posts_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### posts_by_ids\nGet all posts identified by a set of ids. Useful for when the type of post (question or answer) is not known.\n\n ```js\n\n let posts_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the post\nlet post_id = \"45934757\";\n\n // using posts_by_ids endpoint\nstack_posts.posts_by_ids(post_id, posts_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### comments_on_posts\nGet comments on the posts (question or answer) identified by a set of ids.\n\n ```js\n\n let posts_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the post\nlet post_id = \"45934757\";\n\n // using comments_on_posts endpoint\nstack_posts.comments_on_posts(post_id, posts_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### create_comment\nCreate a new comment on the post identified by id. **auth required**. the comment should be included in options as body.\n\n ```js\n// body is required field.\n let posts_options = {\n    \"body\": \"Adding test comment\"\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the post\nlet post_id = \"45934757\";\n\n // using create_comment endpoint\nstack_posts.create_comment(post_id, posts_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### render_comment\nRenders a hypothetical comment on the given post.\n\n ```js\n\n let posts_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the post\nlet post_id = \"45934757\";\n\n // using render_comment endpoint\nstack_posts.render_comment(post_id, {}, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### revisions_by_ids\nGet revisions on the set of posts in ids.\n\n ```js\n\n let posts_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the post\nlet post_id= 39892422;\n\n // using revisions_by_ids endpoint\nstack_posts.revisions_by_ids(post_id, posts_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### posts_on_suggested_edits\nGet suggested edits on the set of posts in ids.\n`\n ```js\n let posts_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//id of the post\nlet post_id= 39892422;\n\n // using posts_on_suggested_edits endpoint\nstack_posts.posts_on_suggested_edits(post_id, posts_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n## search section\n\n```js\n\n//  search object\nconst stack_search = stackexchange.search;\n```\n\n#### search\nSearch the site for questions meeting certain criteria. search_options must contain one of **tagged** or **intitle** field.\n\n ```js\n\n let search_options = {\n    \"tagged\": \"nodejs\",\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n // using search endpoint\nstack_search.search(search_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### advanced_search\nSearch the site for questions using most of the on-site search options. for more search_options please visit [advanced_search](https://api.stackexchange.com/docs/advanced-search) endpoint of stackexchange.\n\n ```js\n\n let search_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n // using advanced_search endpoint\nstack_search.advanced_search(search_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### similar\nSearch the site based on similarity to a title. title must be set in search_options.\n\n ```js\n\n let search_options = {\n    \"title\": \"npm install error\",\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n // using similar endpoint\nstack_search.similar(search_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n#### excerpt_search\nSearches a site. For more search_options see [excerpt_search](https://api.stackexchange.com/docs/excerpt-search) endpoint of stackexchange.\n\n ```js\n\n let search_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n // using excerpt_search endpoint\nstack_search.excerpt_search(search_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n## suggested_edits section\n\n```js\nlet suggested_edits_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n//  suggested_edits object\nconst stack_suggested_edits = stackexchange.suggested_edits;\n```\n\n#### suggested_edits\nGet all the suggested edits on the site. options is optional, can be an empty object\n\n ```js\n // using suggested_edits endpoint\nstack_suggested_edits.suggested_edits(suggested_edits_options, (response) =\u003e {\n        console.log(response);\n});\n```\n\n#### suggested_edits_by_ids\nGet the suggested edits identified by a set of ids. options is optional, can be an empty object\n\n ```js\n // id of the suggested_edit\nlet suggested_edit_id = \"3445738\"\n\n // using suggested_edits_by_ids endpoint\nstack_suggested_edits.suggested_edits_by_ids(suggested_edit_id, suggested_edits_options, (response) =\u003e {\n    console.log(response);\n});\n```\n\n## network section\nThese methods return data across the entire Stack Exchange network of sites. Accordingly, you do not pass a site parameter to them.\n\n```js\n\n//  network object\nconst stack_network = stackexchange.network;\n\n```\n\n### Access Tokens\n\n#### invalidate_access_tokens\nAllows an application to dispose of access_tokens when it is done with them.\n\n ```js\n//options for users\nlet invalidate_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n\n // using invalidate_access_tokens endpoint\nstack_network.invalidate_access_tokens(invalidate_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### read_access_tokens\nAllows an application to inspect access_tokens it has, useful for debugging.\n\n ```js\n//options for users\nlet read_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using read_access_tokens endpoint\nstack_network.read_access_tokens( read_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n### Applications\n\n#### application_de_authenticate\nAllows an application to de-authorize itself for a set of users.\n\n ```js\n//options for users\nlet read_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using application_de_authenticate endpoint\nstack_network.application_de_authenticate( read_options, (response) =\u003e {\n    console.log(response);\n});\n\n\n```\n\n### Errors\n\n#### errors\nGet descriptions of all the errors that the API could return.\n\n ```js\n//options for users\nlet read_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using errors endpoint\nstack_network.errors( read_options, (response) =\u003e {\n    console.log(response);\n});\n\n\n```\n\n#### simulate_errors\nSimulate an API error for testing purposes.\n\n ```js\n//options for users\nlet read_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\nlet error_id = \"401\";\n\n// using simulate_errors endpoint\nstack_network.simulate_errors(error_id, read_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n### Filters\n\n#### create_filter\nCreate a new [filter](https://api.stackexchange.com/docs/filters).\n\n ```js\n//options for users\nlet read_options = {\n    \"include\": \".quota_max\",\n    \"exclude\": \".quota_remaining\",\n    \"unsafe\": false\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using create_filter endpoint\nstack_network.create_filter(create_filter_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### read_filter\nDecode a set of filters, useful for debugging purposes.\n\n ```js\n//options for users\nlet read_options = {\n     \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\nlet filter = \".quota_max\"\n\n// using read_filter endpoint\nstack_network.read_filter(filter, read_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n\n### Inbox\n\n#### Inbox\nGet a user's inbox, outside of the context of a site. **auth required**\n\n ```js\n//options for users\nlet inbox_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using inbox endpoint\nstack_network.inbox(inbox_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### inbox_unread\nGet the unread items in a user's inbox, outside of the context of a site. **auth required**\n\n ```js\n//options for users\nlet inbox_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using inbox_unread endpoint\nstack_network.inbox_unread(inbox_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n### Notifications\n\n#### notifications\nGet a user's notifications, outside of the context of a site. **auth required**\n\n ```js\n//options for users\nlet inbox_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using notifications endpoint\nstack_network.notifications(inbox_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n#### unread_notifications\nGet a user's notifications, outside of the context of a site. **auth required**\n\n ```js\n//options for users\nlet inbox_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using unread_notifications endpoint\nstack_network.unread_notifications(inbox_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n### Sites\n\n#### sites\nGet all the sites in the Stack Exchange network.\n\n ```js\n//options for users\nlet inbox_options = {\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// using sites endpoint\nstack_network.sites(inbox_options, (response) =\u003e {\n    console.log(response);\n});\n\n```\n\n## info section\n```js\nlet info_options = {\n    \"site\": \"stackoverflow\"\n}\n\n//  info object\nconst stack_info = stackexchange.info;\n```\n\n#### info\nGet information about the entire site.\n\n ```js\n // using info endpoint\nstack_info.info(info_options, (response) =\u003e {\n    // response will be json\n    console.log(response);\n});\n```\n\n## privileges section\n\n```js\nlet privileges_options = {\n    \"site\": \"stackoverflow\",\n    \"key\" : \"your_key\"\n}\n\n//  privileges object\nconst stack_privileges = stackexchange.privileges;\n```\n\n#### privileges\nGet all the privileges available on the site.\n\n ```js\n // using info endpoint\nstack_privileges.privileges(privileges_options, (response) =\u003e {\n    // response will be json\n    console.log(response);\n});\n```\n\n## revisions section\n\n```js\nlet revisions_options = {\n    \"site\": \"stackoverflow\",\n    \"key\" : \"your_key\"\n}\n\n// privileges object\nconst stack_revisions = stackexchange.revisions;\n```\n\n#### revisions\nGet all revisions identified by a set of ids.\n\n ```js\n // ids will be available from posts_id endpoint, can be single or multiple seperated by comma.\n let ids = \"BCF73AEC-7F9D-4623-8C38-66E481B52513\"\n // using info endpoint\nstack_revisions.revisions( ids , revisions_options, (response) =\u003e {\n    // response will be json\n    console.log(response);\n});\n```\n\n## events section\n\nTo use events endpoint you need to have access_token and key, you can generate your access_token and key [here](https://api.stackexchange.com/docs/events).\n```js\nlet event_options = {\n    \"site\": \"stackoverflow\",\n    \"key\": \"your_key\",\n    \"access_token\": \"your_token\"\n}\n\n// ; events object\nconst stack_events = stackexchange.events;\n```\n\n#### events\nGet recent events that have occurred on the site. Effectively a stream of new users and content. **auth required**\n ```js\n // using info endpoint\nstack_events.events(event_options, (response) =\u003e {\n    // response will be json\n    console.log(response);\n});\n```\n\n\n\n## Table of Content\n\nThe module exposes following endpoints of stackexchange api:\n\n* [Users section](https://www.npmjs.com/package/stack-exchange#users-section)\n\n| Endpoints | Description | See in StackExchange    |\n|-------------|------|--------------------|\n| [users](https://www.npmjs.com/package/stack-exchange#users) | Get all users on the site. | [users](https://api.stackexchange.com/docs/users) |\n| [users_by_ids](https://www.npmjs.com/package/stack-exchange#users_by_ids) | Get the users identified by a set of ids. | [users/{ids}](https://api.stackexchange.com/docs/users-by-ids) |\n| [answers_on_users](https://www.npmjs.com/package/stack-exchange#answers_on_users) | Get the answers posted by the users identified by a set of ids. | [users/{ids}/answers]( https://api.stackexchange.com/docs/answers-on-users) |\n| [badges_on_users](https://www.npmjs.com/package/stack-exchange#badges_on_users) | Get the badges earned by the users identified by a set of ids. | [users/{ids}/badges](https://api.stackexchange.com/docs/badges-on-users) |\n| [comments_on_users](https://www.npmjs.com/package/stack-exchange#comments_on_users) | Get the comments posted by the users identified by a set of ids. | [users/{ids}/comments](https://api.stackexchange.com/docs/comments-on-users) |\n| [comments_by_users_to_user](https://www.npmjs.com/package/stack-exchange#comments_by_users_to_user) | Get the comments posted by a set of users in reply to another user. | [/users/{ids}/comments/{toid}](https://api.stackexchange.com/docs/comments-by-users-to-user) |\n|[favorites_on_users](https://www.npmjs.com/package/stack-exchange#favorites_on_users)  | Get the questions favorited by users identified by a set of ids. | [users/{ids}/favorites](https://api.stackexchange.com/docs/favorites-on-users) |\n| [mentions_on_users](https://www.npmjs.com/package/stack-exchange#mentions_on_users) | Get the comments that mention one of the users identified by a set of ids. | [users/{ids}/mentioned](https://api.stackexchange.com/docs/mentions-on-users) |\n| [users_network_activity](https://www.npmjs.com/package/stack-exchange#users_network_activity) | Gets a user's activity across the Stack Exchange network. | [users/{id}/network-activity](https://api.stackexchange.com/docs/users-network-activity) |\n| [user_notifications](https://www.npmjs.com/package/stack-exchange#user_notifications) | Get a user's notifications. | [users/{id}/notifications](https://api.stackexchange.com/docs/user-notifications) |\n| [user_unread_notifications](https://www.npmjs.com/package/stack-exchange#user_unread_notifications) | Get a user's unread notifications. | [users/{id}/notifications/unread](https://api.stackexchange.com/docs/user-unread-notifications) |\n|[posts_on_users](https://www.npmjs.com/package/stack-exchange#posts_on_users) | Get all posts (questions and answers) owned by a set of users. | [users/{ids}/posts](https://api.stackexchange.com/docs/posts-on-users) |\n| [privileges_on_users](https://www.npmjs.com/package/stack-exchange#privileges_on_users) | Get the privileges the given user has on the site. | [users/{id}/privileges](https://api.stackexchange.com/docs/privileges-on-users) |\n| [questions_on_users](https://www.npmjs.com/package/stack-exchange#questions_on_users) | Get the questions asked by the users identified by a set of ids. | [users/{ids}/questions](https://api.stackexchange.com/docs/questions-on-users) |\n| [featured_questions_on_users](https://www.npmjs.com/package/stack-exchange#featured_questions_on_users) | Get the questions on which a set of users, have active bounties. | [users/{ids}/questions/featured](https://api.stackexchange.com/docs/featured-questions-on-users) |\n| [no_answer_questions_on_users](https://www.npmjs.com/package/stack-exchange#no_answer_questions_on_users) | Get the questions asked by a set of users, which have no answers. | [users/{ids}/questions/no-answers](https://api.stackexchange.com/docs/no-answer-questions-on-users) |\n| [unaccepted_questions_on_users](https://www.npmjs.com/package/stack-exchange#unaccepted_questions_on_users) | Get the questions asked by a set of users, which have at least one answer but no accepted answer. | [users/{ids}/questions/unaccepted](https://api.stackexchange.com/docs/unaccepted-questions-on-users) |\n| [unanswered_questions_on_users](https://www.npmjs.com/package/stack-exchange#unanswered_questions_on_users) | Get the questions asked by a set of users, which are not considered to be adequately answered. | [users/{ids}/questions/unanswered](https://api.stackexchange.com/docs/unanswered-questions-on-users) |\n| [reputation_on_users](https://www.npmjs.com/package/stack-exchange#reputation_on_users) | Get a subset of the reputation changes experienced by the users identified by a set of ids. | [users/{ids}/reputation](https://api.stackexchange.com/docs/reputation-on-users) |\n| [reputation_history](https://www.npmjs.com/package/stack-exchange#reputation_history) | Get a history of a user's reputation, excluding private events. | [users/{ids}/reputation-history](https://api.stackexchange.com/docs/reputation-history) |\n| [full_reputation_history](https://www.npmjs.com/package/stack-exchange#full_reputation_history) | Get a full history of a user's reputation. auth required | [users/{id}/reputation-history/full](https://api.stackexchange.com/docs/full-reputation-history) |\n| [tags_on_users](https://www.npmjs.com/package/stack-exchange#tags_on_users) | Get the tags that the users (identified by a set of ids) have been active in. | [users/{ids}/tags](https://api.stackexchange.com/docs/tags-on-users) |\n| [suggested_edits_on_users](https://www.npmjs.com/package/stack-exchange#suggested_edits_on_users) | Get the suggested edits provided by users identified by a set of ids. | [users/{ids}/suggested-edits](https://api.stackexchange.com/docs/suggested-edits-on-users) |\n| [top_user_answers_in_tags](https://www.npmjs.com/package/stack-exchange#top_user_answers_in_tags) | Get the top answers a user has posted on questions with a set of tags. | [users/{id}/tags/{tags}/top-answers](https://api.stackexchange.com/docs/top-user-answers-in-tags) |\n| [top_user_questions_in_tags](https://www.npmjs.com/package/stack-exchange#top_user_questions_in_tags) | Get the top questions a user has posted with a set of tags. | [users/{id}/tags/{tags}/top-questions](https://api.stackexchange.com/docs/top-user-questions-in-tags) |\n| [timeline_on_users](https://www.npmjs.com/package/stack-exchange#timeline_on_users) | Get a subset of the actions of that have been taken by the users identified by a set of ids. | [users/{ids}/timeline](https://api.stackexchange.com/docs/timeline-on-users) |\n| [top_answer_tags_on_users](https://www.npmjs.com/package/stack-exchange#top_answer_tags_on_users) | Get the top tags (by score) a single user has posted answers in. | [users/{id}/top-answer-tags](https://api.stackexchange.com/docs/top-answer-tags-on-users) |\n| [top_tags_on_users](https://www.npmjs.com/package/stack-exchange#top_tags_on_users) | Get the top tags (by score) a single user has posted in. | [users/{id}/top-tags](https://api.stackexchange.com/docs/top-tags-on-users) |\n| [top_question_tags_on_users](https://www.npmjs.com/package/stack-exchange#top_question_tags_on_users) | Get the top tags (by score) a single user has asked questions in. | [users/{id}/top-question-tags](https://api.stackexchange.com/docs/top-question-tags-on-users) |\n| [moderators](https://www.npmjs.com/package/stack-exchange#moderators) | Get the users who have moderation powers on the site. | [users/moderators](https://api.stackexchange.com/docs/moderators) |\n| [elected_moderators](https://www.npmjs.com/package/stack-exchange#elected_moderators) | Get the users who are active moderators who have also won a moderator election. | [users/moderators/elected](https://api.stackexchange.com/docs/elected-moderators) |\n| [user_inbox](https://www.npmjs.com/package/stack-exchange#user_inbox) | Get a user's inbox. auth required  | [users/{id}/inbox](https://api.stackexchange.com/docs/user-inbox) |\n| [user_unread_inbox](https://www.npmjs.com/package/stack-exchange#user_unread_inbox) | Get the unread items in a user's inbox. auth required  | [users/{id}/inbox/unread](https://api.stackexchange.com/docs/user-unread-inbox) |\n| [associated_users](https://www.npmjs.com/package/stack-exchange#associated_users) | Get a user's associated accounts. | [users/{ids}/associated](https://api.stackexchange.com/docs/associated-users) |\n| [merge_history](https://www.npmjs.com/package/stack-exchange#merge_history) | Get the merges a user's accounts has undergone. | [users/{ids}/merges](https://api.stackexchange.com/docs/merge-history) |\n\n* [Me section](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me-section)\n\n| Endpoints | Description | See in StackExchange    |\n|-------------|------|--------------------|\n| [me](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me) | Get the users identified by a set of ids. | [me](https://api.stackexchange.com/docs/me) |\n| [me_answers](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_answers) | Get the answers posted by the users identified by a set of ids. | [me/answers](https://api.stackexchange.com/docs/me-answers) |\n| [me_badges](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_badges) | Get the badges earned by the users identified by a set of ids. | [me/badges](https://api.stackexchange.com/docs/me-badges) |\n| [me_comments](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_comments) | Get the comments posted by the users identified by a set of ids. | [me/comments](https://api.stackexchange.com/docs/me-comments) |\n| [me_comments_to](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_comments_to) | Get the comments posted by a set of users in reply to another user. | [me/comments/{toId}](https://api.stackexchange.com/docs/me-comments-to) |\n| [me_favorites](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_favorites) | Get the questions favorited by users identified by a set of ids. | [me/favorites](https://api.stackexchange.com/docs/me-favorites) |\n| [me_mentioned](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_mentioned) | Get the comments that mention one of the users identified by a set of ids. | [me/mentioned](https://api.stackexchange.com/docs/me-mentioned) |\n| [me_network_activity](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_network_activity) | Gets a user's activity across the Stack Exchange network. | [me/network-activity](https://api.stackexchange.com/docs/me-network-activity) |\n| [me_notifications](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_notifications) | Get a user's notifications. | [me/notifications](https://api.stackexchange.com/docs/me-notifications) |\n| [me_unread_notifications](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_unread_notifications) | Get a user's unread notifications. | [me/notifications/unread](https://api.stackexchange.com/docs/me-unread-notifications) |\n| [me_posts](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_posts) | Get all posts (questions and answers) owned by a set of users. | [me/posts](https://api.stackexchange.com/docs/me-posts) |\n| [me_privileges](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_privileges) | Get the privileges the given user has on the site. | [me/privileges](https://api.stackexchange.com/docs/me-privileges) |\n| [me_questions](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_questions) | Get the questions asked by the users identified by a set of ids. | [me/questions](https://api.stackexchange.com/docs/me-questions) |\n| [me_featured_questions](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_featured_questions) | Get the questions on which a set of users, have active bounties. | [me/questions/featured](https://api.stackexchange.com/docs/me-featured-questions) |\n| [me_no_answer_questions](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_no_answer_questions) | Get the questions asked by a set of users, which have **no** answers. | [me/questions/no-answers](https://api.stackexchange.com/docs/me-no-answer-questions) |\n| [me_unaccepted_questions](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_unaccepted_questions) | Get the questions asked by a set of users, which have at least one answer but no accepted answer. | [me/questions/unaccepted](https://api.stackexchange.com/docs/me-unaccepted-questions) |\n| [me_unanswered_questions](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_unanswered_questions) | Get the questions asked by a set of users, which are not considered to be adequately answered. | [me/questions/unanswered](https://api.stackexchange.com/docs/me-unanswered-questions) |\n| [me_reputation](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_reputation) | Get a subset of the reputation changes experienced by the users identified by a set of ids. | [me/reputation](https://api.stackexchange.com/docs/me-reputation) |\n| [me_reputation_history](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_reputation_history) | Get a history of a user's reputation, excluding private events. | [me/reputation-history](https://api.stackexchange.com/docs/me-reputation-history) |\n| [me_full_reputation_history](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_full_reputation_history) | Get a full history of a user's reputation. **auth required** | [me/reputation-history/full](https://api.stackexchange.com/docs/me-full-reputation-history) |\n| [me_suggested_edits](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_suggested_edits) | Get the suggested edits provided by users identified by a set of ids. | [me/suggested-edits](https://api.stackexchange.com/docs/me-suggested-edits) |\n| [me_tags](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_tags) | Get the tags that the users (identified by a set of ids) have been active in. | [me/tags](https://api.stackexchange.com/docs/me-tags) |\n| [me_tags_top_questions](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_tags_top_questions) | Get the top answers a user has posted on questions with a set of tags. | [me/tags/{tags}/top-answers](https://api.stackexchange.com/docs/me-tags-top-answers) |\n| [me_tags_top_answers](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_top_answer_tags) | Get the top questions a user has posted with a set of tags. | [me/tags/{tags}/top-questions](https://api.stackexchange.com/docs/me-tags-top-questions) |\n| [me_timeline](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_timeline) | Get a subset of the actions of that have been taken by the users identified by a set of ids. | [me/timeline](https://api.stackexchange.com/docs/me-timeline) |\n| [me_top_answer_tags]() | Get the top tags (by score) a single user has posted answers in. | [me/top-answer-tags](https://api.stackexchange.com/docs/me-top-answer-tags) |\n| [me_top_question_tags](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_top_question_tags) | Get the top tags (by score) a single user has asked questions in. | [me/top-question-tags](https://api.stackexchange.com/docs/me-top-question-tags) |\n| [me_top_tags](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_top_tags) | Get the top tags (by score) a single user has posted in. | [me/top-tags](https://api.stackexchange.com/docs/me-top-tags) |\n| [me_inbox](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_inbox) | Get a user's inbox. auth required | [me/inbox](https://api.stackexchange.com/docs/me-inbox) |\n| [me_unread_inbox](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_unread_inbox) | Get the unread items in a user's inbox. auth required | [me/inbox/unread](https://api.stackexchange.com/docs/me-unread-inbox) |\n| [me_associated_users](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_associated_users) | Get a user's associated accounts. | [me/associated](https://api.stackexchange.com/docs/me-associated-users) |\n| [me_merge_history](https://github.com/KarthikGangadhar/stack-exchange/blob/master/README.md#me_merge_history) | Get the merges a user's accounts has undergone. | [me/merges](https://api.stackexchange.com/docs/me-merge-history) |\n\n* [Questions section](https://www.npmjs.com/package/stack-exchange#questions-section)\n\n| Endpoints | Description | See in StackExchange              |\n|-------------|------|--------------------|\n| [questions](https://www.npmjs.com/package/stack-exchange#questions) | Get all questions on the site. | [questions](https://api.stackexchange.com/docs/questions) |\n| [quetions_by_id](https://www.npmjs.com/package/stack-exchange#questions-by-ids) | Get the questions identified by a set of ids. | [questions/{ids}](https://api.stackexchange.com/docs/questions-by-ids) |\n| [answers_on_questions](https://www.npmjs.com/package/stack-exchange#answers-on-questions) | Get the answers to the questions identified by a set of ids. | [questions/{ids}/answers](https://api.stackexchange.com/docs/answers-on-questions) |\n| [render_answers](https://www.npmjs.com/package/stack-exchange#render-answers) | Renders a hypothetical answer to a question. This is a post endpoints, the options section looks like this, both fields are required.  | [questions/{id}/answers/render](https://api.stackexchange.com/docs/render-answer) |\n| [linked_questions](https://www.npmjs.com/package/stack-exchange#linked-questions) | Get the questions that link to the questions identified by a set of ids.  | [questions/{ids}/linked](https://api.stackexchange.com/docs/linked-questions) |\n| [related_questions](https://www.npmjs.com/package/stack-exchange#related-questions)  | Get the questions that are related to the questions identified by a set of ids. | [questions/{ids}/related](https://api.stackexchange.com/docs/related-questions) |\n| [questions_timeline](https://www.npmjs.com/package/stack-exchange#questions-timeline) | Get the timelines of the questions identified by a set of ids.  | [questions/{ids}/timeline](https://api.stackexchange.com/docs/questions-timeline) |\n| [featured_questions](https://www.npmjs.com/package/stack-exchange#featured-questions) | Get all questions on the site with active bounties. | [questions/featured](https://api.stackexchange.com/docs/featured-questions) |\n| [no-answer-questions](https://www.npmjs.com/package/stack-exchange#no-answer-questions) | Get all questions on the site with no answers. | [questions/no-answers](https://api.stackexchange.com/docs/no-answer-questions) |\n| [unanswered_questions](https://www.npmjs.com/package/stack-exchange#unanswered-questions) | Get all questions the site considers unanswered. | [questions/unanswered](https://api.stackexchange.com/docs/unanswered-questions) |\n| [unanswered_questions_my_tags](https://www.npmjs.com/package/stack-exchange#unanswered-questions-my-tags) | Get questions the site considers unanswered within a user's favorite or interesting tags. **auth required**. | [questions/unanswered/my-tags](https://api.stackexchange.com/docs/unanswered-questions-my-tags) |\n| [question_flag_options](https://www.npmjs.com/package/stack-exchange#question-flag-options) | Returns valid flag options for the given question. **auth** required. | [questions/{id}/flags/options](https://api.stackexchange.com/docs/question-flag-options) |\n| [question_close_options](https://www.npmjs.com/package/stack-exchange#question-close-options) | Returns valid flag options which are also close reasons for the given question. **auth required.**  | [questions/{id}/close/options](https://api.stackexchange.com/docs/question-close-options) |\n| [comments_on_questions](https://www.npmjs.com/package/stack-exchange#comments-on-questions) | Get the comments on the questions identified by a set of ids. This endpoint required access_token and key in options. | [questions/{ids}/comments](https://api.stackexchange.com/docs/comments-on-questions) |\n\n* [Answers section](https://www.npmjs.com/package/stack-exchange#answers-section)\n\n| Endpoints | Description | See in StackExchange    |\n|-------------|------|--------------------|\n| [answers](https://www.npmjs.com/package/stack-exchange#answers) | Get all answers on the site. | [answers](https://api.stackexchange.com/docs/answers) |\n| [answers_by_ids](https://www.npmjs.com/package/stack-exchange#answers_by_ids) | Get answers identified by a set of ids. | [answers/{ids}](https://api.stackexchange.com/docs/answers-by-ids) |\n| [accept_answer](https://www.npmjs.com/package/stack-exchange#accept_answer) | Casts an accept vote on the given answer. **auth required** | [answers/{id}/accept](https://api.stackexchange.com/docs/accept-answer) |\n| [comments_on_answers](https://www.npmjs.com/package/stack-exchange#comments_on_answers) | Undoes an accept vote on the given answer. **auth required** | [answers/{id}/accept/undo](https://api.stackexchange.com/docs/undo-accept-answer) |\n| [undo_accept_answer](https://www.npmjs.com/package/stack-exchange#undo_accept_answer) | Get comments on the answers identified by a set of ids. | [answers/{ids}/comments](https://api.stackexchange.com/docs/comments-on-answers) |\n\n\n* [Badges section](https://www.npmjs.com/package/stack-exchange#badges-section)\n\n| Endpoints | Description | See in StackExchange    |\n|-------------|------|--------------------|\n| [badges](https://www.npmjs.com/package/stack-exchange#badges) | Get all badges on the site, in alphabetical order. | [badges](https://api.stackexchange.com/docs/badges) |\n| [badges_by_id](https://www.npmjs.com/package/stack-exchange#badges_by_id) | Get the badges identified by ids. | [badges/{ids}](https://api.stackexchange.com/docs/badges-by-ids) |\n| [badges_by_name](https://www.npmjs.com/package/stack-exchange#badges_by_name) | Get all non-tagged-based badges in alphabetical order. | [badges/name](https://api.stackexchange.com/docs/badges-by-name) |\n| [badge_recipients](https://www.npmjs.com/package/stack-exchange#badge_recipients) | Get badges recently awarded on the site. | [badges/recipients](https://api.stackexchange.com/docs/badge-recipients)  |\n| [badge_recipients_by_id](https://www.npmjs.com/package/stack-exchange#badge_recipients_by_id) | Get the recent recipients of the given badges. | [badges/{ids}/recipients](https://api.stackexchange.com/docs/badge-recipients-by-ids)  |\n| [badge_by_tags](https://www.npmjs.com/package/stack-exchange#badge_by_tags) | Get all tagged-based badges in alphabetical order. | [badges/tags](https://api.stackexchange.com/docs/badges-by-tag)  |\n\n\n* [Tags section](https://www.npmjs.com/package/stack-exchange#badges-section)\n\n| Endpoints | Description | See in StackExchange    |\n|-------------|------|--------------------|\n| [tags](https://www.npmjs.com/package/stack-exchange#tags) | Get the tags on the site. | [tags](https://api.stackexchange.com/docs/tags) |\n| [tags_by_name](https://www.npmjs.com/package/stack-exchange#tags-by-name) | Get tags on the site by their names. | [tags/{tags}/info](https://api.stackexchange.com/docs/tags-by-name) |\n| [moderator_only_tags](https://www.npmjs.com/package/stack-exchange#moderator-only-tags) | Get the tags on the site that only moderators can use. | [tags/moderator-only](https://api.stackexchange.com/docs/moderator-only-tags) |\n| [require_tags](https://www.npmjs.com/package/stack-exchange#require-tags) | Get the tags on the site that fulfill required tag constraints. | [tags/required](https://api.stackexchange.com/docs/required-tags) |\n| [tag_synonyms](https://www.npmjs.com/package/stack-exchange#tag-synonyms) | Get all the tag synonyms on the site. | [tags/synonyms](https://api.stackexchange.com/docs/tag-synonyms) |\n| [faqs_by_tags](https://www.npmjs.com/package/stack-exchange#faqs-by-tags) | Get frequently asked questions in a set of tags. | [tags/{tags}/faq](https://api.stackexchange.com/docs/faqs-by-tags) |\n| [related_tags](https://www.npmjs.com/package/stack-exchange#related-tags) | Get related tags, based on common tag pairings. | [tags/{tags}/related](https://api.stackexchange.com/docs/related-tags) |\n| [synonyms_by_tags](https://www.npmjs.com/package/stack-exchange#synonyms-by-tags) | Get the synonyms for a specific set of tags. | [tags/{tags}/synonyms](https://api.stackexchange.com/docs/synonyms-by-tags) |\n| [top_answerers_on_tags](https://www.npmjs.com/package/stack-exchange#top-answerers-on-tags) | Get the top answer posters in a specific tag, either in the last month or for all time.  | [tags/{tag}/top-answerers/{period}](https://api.stackexchange.com/docs/top-answerers-on-tags) |\n| [top_askers_on_tags](https://www.npmjs.com/package/stack-exchange#top-askers-on-tags) | Get the top question askers in a specific tag, either in the last month or for all time.  | [tags/{tag}/top-askers/{period}](https://api.stackexchange.com/docs/top-askers-on-tags) |\n| [wikis_by_tags](https://www.npmjs.com/package/stack-exchange#wikis-by-tags) | Get the wiki entries for a set of tags. | [tags/{tags}/wikis](https://api.stackexchange.com/docs/wikis-by-tags) |\n\n* [Comments section](https://www.npmjs.com/package/stack-exchange#comments-section)\n\n| Endpoints | Description | See in StackExchange    |\n|-------------|------|--------------------|\n| [comments](https://www.npmjs.com/package/stack-exchange#comments) | Get all comments on the site. | [comments](https://api.stackexchange.com/docs/comments) |\n| [comments_by_ids](https://www.npmjs.com/package/stack-exchange#comments_by_ids) | Get comments identified by a set of ids. | [comments/{ids}](https://api.stackexchange.com/docs/comments-by-ids) |\n| [delete_comment](https://www.npmjs.com/package/stack-exchange#delete_comment) | Delete a comment identified by its id. **auth required** | [comments/{id}/delete](https://api.stackexchange.com/docs/delete-comment) |\n| [edit_comment](https://www.npmjs.com/package/stack-exchange#edit_comment) | Edit a comment identified by its id. **auth required** | [comments/{id}/edit](https://api.stackexchange.com/docs/edit-comment) |\n| [create_comment_flag](https://www.npmjs.com/package/stack-exchange#create_comment_flag) | Casts a flag on the given comment. **auth required** | [comments/{id}/flags/add](https://api.stackexchange.com/docs/create-comment-flag) |\n| [comment_flag_options](https://www.npmjs.com/package/stack-exchange#comment_flag_options) | Returns valid flag options for the given comment. **auth required** | [comments/{id}/flags/options](https://api.stackexchange.com/docs/comment-flag-options) |\n| [upvote_comment](https://www.npmjs.com/package/stack-exchange#upvote_comment) | Casts an upvote on the given comment. **auth required** | [comments/{id}/upvote](https://api.stackexchange.com/docs/upvote-comment) |\n| [undo_upvote_comment](https://www.npmjs.com/package/stack-exchange#undo_upvote_comment) | Undoes an upvote on the given comment. **auth required** | [comments/{id}/upvote/undo](https://api.stackexchange.com/docs/undo-upvote-comment) |\n\n\n* [Posts section](https://www.npmjs.com/package/stack-exchange#posts-section)\n\n| Endpoints | Description | See in StackExchange    |\n|-------------|------|--------------------|\n| [posts](https://www.npmjs.com/package/stack-exchange#posts) | Get all posts (questions and answers) in the system. | [posts](https://api.stackexchange.com/docs/posts) |\n| [posts_by_ids](https://www.npmjs.com/package/stack-exchange#posts_by_ids) | Get all posts identified by a set of ids. Useful for when the type of post (question or answer) is not known. | [posts/{ids}](https://api.stackexchange.com/docs/posts-by-ids) |\n| [comments_on_posts](https://www.npmjs.com/package/stack-exchange#comments_on_posts) | Get comments on the posts (question or answer) identified by a set of ids. | [posts/{ids}/comments](https://api.stackexchange.com/docs/comments-on-posts) |\n| [create_comment](https://www.npmjs.com/package/stack-exchange#create_comment) | Create a new comment on the post identified by id. **auth required**  | [posts/{id}/comments/add](https://api.stackexchange.com/docs/create-comment) |\n| [render_comment](https://www.npmjs.com/package/stack-exchange#render_comment) | Renders a hypothetical comment on the given post. | [posts/{id}/comments/render](https://api.stackexchange.com/docs/render-comment) |\n| [revisions_by_ids](https://www.npmjs.com/package/stack-exchange#revisions_by_ids) | Get revisions on the set of posts in ids. | [posts/{ids}/revisions](https://api.stackexchange.com/docs/revisions-by-ids) |\n| [posts_on_suggested_edits](https://www.npmjs.com/package/stack-exchange#posts_on_suggested_edits) | Get suggested edits on the set of posts in ids. | [posts/{ids}/suggested-edits](https://api.stackexchange.com/docs/posts-on-suggested-edits) |\n\n* [Search section](https://www.npmjs.com/package/stack-exchange#search-section)\n\n| Endpoints | Description | See in StackExchange    |\n|-------------|------|--------------------|\n| [search](https://www.npmjs.com/package/stack-exchange#search) | Search the site for questions meeting certain criteria. | [search](https://api.stackexchange.com/docs/search) |\n| [advanced_search](https://www.npmjs.com/package/stack-exchange#advanced_search) | Search the site for questions using most of the on-site search options. | [search/advanced](https://api.stackexchange.com/docs/advanced-search) |\n| [similar](https://www.npmjs.com/package/stack-exchange#similar) | Search the site based on similarity to a title. | [similar](https://api.stackexchange.com/docs/similar) |\n| [excerpt_search](https://www.npmjs.com/package/stack-exchange#excerpt_search) | Searches a site. | [search/excerpts](https://api.stackexchange.com/docs/excerpt-search) |\n\n* [Suggested Edits section](https://www.npmjs.com/package/stack-exchange#users-section)\n\n| Endpoints | Description | See in StackExchange    |\n|-------------|------|--------------------|\n| [suggested_edits](https://www.npmjs.com/package/stack-exchange#suggested_edits) | Get all the suggested edits on the site. | [suggested-edits](https://api.stackexchange.com/docs/suggested-edits) |\n| [suggested_edits_by_ids](https://www.npmjs.com/package/stack-exchange#suggested_edits_by_ids) | Get the suggested edits identified by a set of ids. | [suggested-edits/{ids}](https://api.stackexchange.com/docs/suggested-edits-by-ids) |\n\n* [Network section](https://www.npmjs.com/package/stack-exchange#network-section)\n\n| Endpoints | Description | See in StackExchange    |\n|-------------|------|--------------------|\n| [invalidate_access_tokens](https://www.npmjs.com/package/stack-exchange#invalidate_access_tokens) | Allows an application to dispose of access_tokens when it is done with them. | [access-tokens/{accessTokens}/invalidate](https://api.stackexchange.com/docs/invalidate-access-tokens) |\n| [read_access_tokens](https://www.npmjs.com/package/stack-exchange#read_access_tokens) | Allows an application to inspect access_tokens it has, useful for debugging. | [access-tokens/{accessTokens}](https://api.stackexchange.com/docs/read-access-tokens) |\n| [application_de_authenticate](https://www.npmjs.com/package/stack-exchange#application_de_authenticate) | Allows an application to de-authorize itself for a set of users. | [apps/{accessTokens}/de-authenticate](https://api.stackexchange.com/docs/application-de-authenticate) |\n| [errors](https://www.npmjs.com/package/stack-exchange#errors-1) | Get descriptions of all the errors that the API could return. | [errors](https://api.stackexchange.com/docs/errors) |\n| [simulate_errors](https://www.npmjs.com/package/stack-exchange#simulate_errors) | Simulate an API error for testing purposes.  | [errors/{id}](https://api.stackexchange.com/docs/simulate-error) |\n| [create_filter](https://www.npmjs.com/package/stack-exchange#create_filter) | Create a new [filter](https://api.stackexchange.com/docs/filters). | [filters/create](https://api.stackexchange.com/docs/create-filter) |\n| [read_filter](https://www.npmjs.com/package/stack-exchange#read_filter) | Decode a set of filters, useful for debugging purposes. | [filters/{filters}](https://api.stackexchange.com/docs/read-filter) |\n| [Inbox](https://www.npmjs.com/package/stack-exchange#inbox-1) | Get a user's inbox, outside of the context of a site. **auth required** | [inbox](https://api.stackexchange.com/docs/inbox) |\n| [inbox_unread](https://www.npmjs.com/package/stack-exchange#inbox_unread) | Get the unread items in a user's inbox, outside of the context of a site. **auth required** | [inbox/unread](https://api.stackexchange.com/docs/inbox-unread) |\n| [notifications](https://www.npmjs.com/package/stack-exchange#notifications-1) | Get a user's notifications, outside of the context of a site. **auth required** | [notifications](https://api.stackexchange.com/docs/notifications) |\n| [unread_notifications](https://www.npmjs.com/package/stack-exchange#unread_notifications) | Get a user's unread notifications, outside of the context of a site. **auth required** | [notifications/unread](https://api.stackexchange.com/docs/unread-notifications) |\n| [sites](https://www.npmjs.com/package/stack-exchange#sites-1) | Get all the sites in the Stack Exchange network. | [sites](https://api.stackexchange.com/docs/sites) |\n\n* [Info section](https://www.npmjs.com/package/stack-exchange#info-section)\n\n| Endpoints | Description | See in StackExchange    |\n|-------------|------|--------------------|\n| [info](https://www.npmjs.com/package/stack-exchange#info) | Get information about the entire site. | [info](https://api.stackexchange.com/docs/info) |\n\n* [privileges section](https://www.npmjs.com/package/stack-exchange#privileges-section)\n\n| Endpoints | Description | See in StackExchange    |\n|-------------|------|--------------------|\n| [privileges](https://www.npmjs.com/package/stack-exchange#info) | Get all the privileges available on the site. | [privileges](https://api.stackexchange.com/docs/privileges) |\n\n\n* [Revisions section](https://www.npmjs.com/package/stack-exchange#revisions-section)\n\n| Endpoints | Description | See in StackExchange    |\n|-------------|------|--------------------|\n| [revisions](https://www.npmjs.com/package/stack-exchange#revisions) | Get all revisions identified by a set of ids. | [revisions/{ids}](https://api.stackexchange.com/docs/revisions-by-guids) |\n\n\n* [Events section](https://www.npmjs.com/package/stack-exchange#events-section)\n\n| Endpoints | Description | See in StackExchange    |\n|-------------|------|--------------------|\n| [events](https://www.npmjs.com/package/stack-exchange#events) | Get recent events that have occurred on the site. Effectively a stream of new users and content. **auth required** | [events](https://api.stackexchange.com/docs/events) |\n\n\n\n\n\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarthikgangadhar%2Fstack-exchange","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarthikgangadhar%2Fstack-exchange","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarthikgangadhar%2Fstack-exchange/lists"}