{"action":"closed","number":612,"pull_request":{"url":"https://api.github.com/repos/praw-dev/praw/pulls/612","id":73456238,"html_url":"https://github.com/praw-dev/praw/pull/612","diff_url":"https://github.com/praw-dev/praw/pull/612.diff","patch_url":"https://github.com/praw-dev/praw/pull/612.patch","issue_url":"https://api.github.com/repos/praw-dev/praw/issues/612","number":612,"state":"closed","locked":false,"title":"Add method get_rules for a subreddit's rules","user":{"login":"leviroth","id":17488252,"avatar_url":"https://avatars.githubusercontent.com/u/17488252?v=3","gravatar_id":"","url":"https://api.github.com/users/leviroth","html_url":"https://github.com/leviroth","followers_url":"https://api.github.com/users/leviroth/followers","following_url":"https://api.github.com/users/leviroth/following{/other_user}","gists_url":"https://api.github.com/users/leviroth/gists{/gist_id}","starred_url":"https://api.github.com/users/leviroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leviroth/subscriptions","organizations_url":"https://api.github.com/users/leviroth/orgs","repos_url":"https://api.github.com/users/leviroth/repos","events_url":"https://api.github.com/users/leviroth/events{/privacy}","received_events_url":"https://api.github.com/users/leviroth/received_events","type":"User","site_admin":false},"body":"Nothing more complicated than it says in the title. Subreddits can now set official rules (not just by editing the sidebar), and this lets you retrieve them as a JSON dictionary.","created_at":"2016-06-11T02:33:46Z","updated_at":"2016-06-15T05:59:21Z","closed_at":"2016-06-15T05:59:21Z","merged_at":"2016-06-15T05:59:21Z","merge_commit_sha":"c37afbe5d5d495b16364d6c060e7e1fdfcc8b881","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/praw-dev/praw/pulls/612/commits","review_comments_url":"https://api.github.com/repos/praw-dev/praw/pulls/612/comments","review_comment_url":"https://api.github.com/repos/praw-dev/praw/pulls/comments{/number}","comments_url":"https://api.github.com/repos/praw-dev/praw/issues/612/comments","statuses_url":"https://api.github.com/repos/praw-dev/praw/statuses/a7a14c858fe5fb9e0f6ee6323b67319e0c3602cb","head":{"label":"leviroth:master","ref":"master","sha":"a7a14c858fe5fb9e0f6ee6323b67319e0c3602cb","user":{"login":"leviroth","id":17488252,"avatar_url":"https://avatars.githubusercontent.com/u/17488252?v=3","gravatar_id":"","url":"https://api.github.com/users/leviroth","html_url":"https://github.com/leviroth","followers_url":"https://api.github.com/users/leviroth/followers","following_url":"https://api.github.com/users/leviroth/following{/other_user}","gists_url":"https://api.github.com/users/leviroth/gists{/gist_id}","starred_url":"https://api.github.com/users/leviroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leviroth/subscriptions","organizations_url":"https://api.github.com/users/leviroth/orgs","repos_url":"https://api.github.com/users/leviroth/repos","events_url":"https://api.github.com/users/leviroth/events{/privacy}","received_events_url":"https://api.github.com/users/leviroth/received_events","type":"User","site_admin":false},"repo":{"id":52577868,"name":"praw","full_name":"leviroth/praw","owner":{"login":"leviroth","id":17488252,"avatar_url":"https://avatars.githubusercontent.com/u/17488252?v=3","gravatar_id":"","url":"https://api.github.com/users/leviroth","html_url":"https://github.com/leviroth","followers_url":"https://api.github.com/users/leviroth/followers","following_url":"https://api.github.com/users/leviroth/following{/other_user}","gists_url":"https://api.github.com/users/leviroth/gists{/gist_id}","starred_url":"https://api.github.com/users/leviroth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leviroth/subscriptions","organizations_url":"https://api.github.com/users/leviroth/orgs","repos_url":"https://api.github.com/users/leviroth/repos","events_url":"https://api.github.com/users/leviroth/events{/privacy}","received_events_url":"https://api.github.com/users/leviroth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leviroth/praw","description":"PRAW, an acronym for \"Python Reddit API Wrapper\", is a python package that allows for simple access to reddit's API.","fork":true,"url":"https://api.github.com/repos/leviroth/praw","forks_url":"https://api.github.com/repos/leviroth/praw/forks","keys_url":"https://api.github.com/repos/leviroth/praw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leviroth/praw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leviroth/praw/teams","hooks_url":"https://api.github.com/repos/leviroth/praw/hooks","issue_events_url":"https://api.github.com/repos/leviroth/praw/issues/events{/number}","events_url":"https://api.github.com/repos/leviroth/praw/events","assignees_url":"https://api.github.com/repos/leviroth/praw/assignees{/user}","branches_url":"https://api.github.com/repos/leviroth/praw/branches{/branch}","tags_url":"https://api.github.com/repos/leviroth/praw/tags","blobs_url":"https://api.github.com/repos/leviroth/praw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leviroth/praw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leviroth/praw/git/refs{/sha}","trees_url":"https://api.github.com/repos/leviroth/praw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leviroth/praw/statuses/{sha}","languages_url":"https://api.github.com/repos/leviroth/praw/languages","stargazers_url":"https://api.github.com/repos/leviroth/praw/stargazers","contributors_url":"https://api.github.com/repos/leviroth/praw/contributors","subscribers_url":"https://api.github.com/repos/leviroth/praw/subscribers","subscription_url":"https://api.github.com/repos/leviroth/praw/subscription","commits_url":"https://api.github.com/repos/leviroth/praw/commits{/sha}","git_commits_url":"https://api.github.com/repos/leviroth/praw/git/commits{/sha}","comments_url":"https://api.github.com/repos/leviroth/praw/comments{/number}","issue_comment_url":"https://api.github.com/repos/leviroth/praw/issues/comments{/number}","contents_url":"https://api.github.com/repos/leviroth/praw/contents/{+path}","compare_url":"https://api.github.com/repos/leviroth/praw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leviroth/praw/merges","archive_url":"https://api.github.com/repos/leviroth/praw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leviroth/praw/downloads","issues_url":"https://api.github.com/repos/leviroth/praw/issues{/number}","pulls_url":"https://api.github.com/repos/leviroth/praw/pulls{/number}","milestones_url":"https://api.github.com/repos/leviroth/praw/milestones{/number}","notifications_url":"https://api.github.com/repos/leviroth/praw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leviroth/praw/labels{/name}","releases_url":"https://api.github.com/repos/leviroth/praw/releases{/id}","deployments_url":"https://api.github.com/repos/leviroth/praw/deployments","created_at":"2016-02-26T04:09:24Z","updated_at":"2016-02-26T04:09:26Z","pushed_at":"2016-06-11T02:57:56Z","git_url":"git://github.com/leviroth/praw.git","ssh_url":"git@github.com:leviroth/praw.git","clone_url":"https://github.com/leviroth/praw.git","svn_url":"https://github.com/leviroth/praw","homepage":"https://praw.readthedocs.org/","size":13870,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"praw-dev:master","ref":"master","sha":"8554207ef1f7e11d8c10a6a7babc563624f71f35","user":{"login":"praw-dev","id":1696888,"avatar_url":"https://avatars.githubusercontent.com/u/1696888?v=3","gravatar_id":"","url":"https://api.github.com/users/praw-dev","html_url":"https://github.com/praw-dev","followers_url":"https://api.github.com/users/praw-dev/followers","following_url":"https://api.github.com/users/praw-dev/following{/other_user}","gists_url":"https://api.github.com/users/praw-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/praw-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praw-dev/subscriptions","organizations_url":"https://api.github.com/users/praw-dev/orgs","repos_url":"https://api.github.com/users/praw-dev/repos","events_url":"https://api.github.com/users/praw-dev/events{/privacy}","received_events_url":"https://api.github.com/users/praw-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":847957,"name":"praw","full_name":"praw-dev/praw","owner":{"login":"praw-dev","id":1696888,"avatar_url":"https://avatars.githubusercontent.com/u/1696888?v=3","gravatar_id":"","url":"https://api.github.com/users/praw-dev","html_url":"https://github.com/praw-dev","followers_url":"https://api.github.com/users/praw-dev/followers","following_url":"https://api.github.com/users/praw-dev/following{/other_user}","gists_url":"https://api.github.com/users/praw-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/praw-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praw-dev/subscriptions","organizations_url":"https://api.github.com/users/praw-dev/orgs","repos_url":"https://api.github.com/users/praw-dev/repos","events_url":"https://api.github.com/users/praw-dev/events{/privacy}","received_events_url":"https://api.github.com/users/praw-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/praw-dev/praw","description":"PRAW, an acronym for \"Python Reddit API Wrapper\", is a python package that allows for simple access to reddit's API.","fork":false,"url":"https://api.github.com/repos/praw-dev/praw","forks_url":"https://api.github.com/repos/praw-dev/praw/forks","keys_url":"https://api.github.com/repos/praw-dev/praw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/praw-dev/praw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/praw-dev/praw/teams","hooks_url":"https://api.github.com/repos/praw-dev/praw/hooks","issue_events_url":"https://api.github.com/repos/praw-dev/praw/issues/events{/number}","events_url":"https://api.github.com/repos/praw-dev/praw/events","assignees_url":"https://api.github.com/repos/praw-dev/praw/assignees{/user}","branches_url":"https://api.github.com/repos/praw-dev/praw/branches{/branch}","tags_url":"https://api.github.com/repos/praw-dev/praw/tags","blobs_url":"https://api.github.com/repos/praw-dev/praw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/praw-dev/praw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/praw-dev/praw/git/refs{/sha}","trees_url":"https://api.github.com/repos/praw-dev/praw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/praw-dev/praw/statuses/{sha}","languages_url":"https://api.github.com/repos/praw-dev/praw/languages","stargazers_url":"https://api.github.com/repos/praw-dev/praw/stargazers","contributors_url":"https://api.github.com/repos/praw-dev/praw/contributors","subscribers_url":"https://api.github.com/repos/praw-dev/praw/subscribers","subscription_url":"https://api.github.com/repos/praw-dev/praw/subscription","commits_url":"https://api.github.com/repos/praw-dev/praw/commits{/sha}","git_commits_url":"https://api.github.com/repos/praw-dev/praw/git/commits{/sha}","comments_url":"https://api.github.com/repos/praw-dev/praw/comments{/number}","issue_comment_url":"https://api.github.com/repos/praw-dev/praw/issues/comments{/number}","contents_url":"https://api.github.com/repos/praw-dev/praw/contents/{+path}","compare_url":"https://api.github.com/repos/praw-dev/praw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/praw-dev/praw/merges","archive_url":"https://api.github.com/repos/praw-dev/praw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/praw-dev/praw/downloads","issues_url":"https://api.github.com/repos/praw-dev/praw/issues{/number}","pulls_url":"https://api.github.com/repos/praw-dev/praw/pulls{/number}","milestones_url":"https://api.github.com/repos/praw-dev/praw/milestones{/number}","notifications_url":"https://api.github.com/repos/praw-dev/praw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/praw-dev/praw/labels{/name}","releases_url":"https://api.github.com/repos/praw-dev/praw/releases{/id}","deployments_url":"https://api.github.com/repos/praw-dev/praw/deployments","created_at":"2010-08-19T04:00:07Z","updated_at":"2016-06-14T20:49:56Z","pushed_at":"2016-06-15T05:59:22Z","git_url":"git://github.com/praw-dev/praw.git","ssh_url":"git@github.com:praw-dev/praw.git","clone_url":"https://github.com/praw-dev/praw.git","svn_url":"https://github.com/praw-dev/praw","homepage":"https://praw.readthedocs.io/","size":17376,"stargazers_count":1003,"watchers_count":1003,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":205,"mirror_url":null,"open_issues_count":42,"forks":205,"open_issues":42,"watchers":1003,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/612"},"html":{"href":"https://github.com/praw-dev/praw/pull/612"},"issue":{"href":"https://api.github.com/repos/praw-dev/praw/issues/612"},"comments":{"href":"https://api.github.com/repos/praw-dev/praw/issues/612/comments"},"review_comments":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/612/comments"},"review_comment":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/612/commits"},"statuses":{"href":"https://api.github.com/repos/praw-dev/praw/statuses/a7a14c858fe5fb9e0f6ee6323b67319e0c3602cb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bboe","id":48100,"avatar_url":"https://avatars.githubusercontent.com/u/48100?v=3","gravatar_id":"","url":"https://api.github.com/users/bboe","html_url":"https://github.com/bboe","followers_url":"https://api.github.com/users/bboe/followers","following_url":"https://api.github.com/users/bboe/following{/other_user}","gists_url":"https://api.github.com/users/bboe/gists{/gist_id}","starred_url":"https://api.github.com/users/bboe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bboe/subscriptions","organizations_url":"https://api.github.com/users/bboe/orgs","repos_url":"https://api.github.com/users/bboe/repos","events_url":"https://api.github.com/users/bboe/events{/privacy}","received_events_url":"https://api.github.com/users/bboe/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":6,"additions":122,"deletions":0,"changed_files":5}}
{"actor":{"display_login":"bboe"}}