{"action":"created","comment":{"url":"https://api.github.com/repos/praw-dev/praw/pulls/comments/77442240","id":77442240,"diff_hunk":"@@ -1,55 +1,309 @@\n Getting Started\n ===============\n+In this section, we are going over everything you need to know to start\n+building bots using Python Reddit API Wrapper (PRAW). It's fun and easy. Let's\n+get started.\n \n-The following material will help you get started with PRAW:\n+Prerequisites\n+-------------\n \n-.. toctree::\n-   :maxdepth: 1\n+- **Python**:\n+  Obviously, you need to know at least a little Python to use PRAW;\n+  it's a Python wrapper after all. PRAW supports `Python 2.7`_, and\n+  `Python 3.3 to 3.5`_. If you are stuck on a problem, `/r/learnpython`_ is a\n+  a great place to get help.\n \n-   reply_bot\n-   comments\n+.. _`Python 2.7`: https://docs.python.org/2/tutorial/index.html\n+.. _`Python 3.3 to 3.5`: https://docs.python.org/3/tutorial/index.html\n+.. _`/r/learnpython`: https://www.reddit.com/r/learnpython/\n+\n+- **reddit**:\n+  A basic understanding of how reddit.com works is a must, although we can\n+  safely assume that a person who is reading the documentation of a reddit API\n+  wrapper must have that covered. Just in case you don't, here is the FAQ_.\n+    \n+  You would also need a reddit account to register apps with reddit before you\n+  can use their API through PRAW. \n+\n+.. _FAQ: https://www.reddit.com/wiki/faq\n+\n+- **user-agent**:\n+  A user-agent is a string that helps the reddit server identify the\n+  source of the requests. To use reddit API, you need a unique and descriptive\n+  user-agent string. The recommended format is ``<platform>:<app ID>:<version \n+  string> (by /u/<reddit username>)``. For example, \n+  ``android:com.example.myredditapp:v1.2.3 (by /u/kemitche)``. Read more about\n+  user-agent strings on `reddit API's wiki page`_.\n+\n+.. _`reddit API's wiki page`: https://github.com/reddit/reddit/wiki/API\n+\n+- **client ID & client secret**:\n+  These two are also mandatory for PRAW4. If you don't already have them,\n+  follow the \"First Steps\" section on `this reddit API wiki page`_.\n+\n+.. _`this reddit API wiki page`:\n+   https://github.com/reddit/reddit/wiki/OAuth2-Quick-Start-Example\n+\n+That's pretty much it! You are ready to learn how to do some of the most\n+common tasks of reddit bot building!\n+\n+Common Tasks\n+------------\n+\n+Get a ``Reddit`` instance\n+~~~~~~~~~~~~~~~~~~~~~~~~~\n+\n+You need an instance of the ``Reddit`` class to do *anything* with PRAW. And\n+there are \"two kinds\" of ``Reddit`` instance you can create, the read-only\n+one and the regular one. They differ in the amount of settings information\n+needed.\n+\n+The read-only ``Reddit`` instance\n+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+To create a read-only ``Reddit`` instance, you need three pieces of settings\n+information:\n+\n+1) user agent\n+2) client ID\n+3) client secret\n+\n+You may choose to provide these by passing in three key-word arguments when\n+calling the initializer of the ``Reddit`` class: ``user_agent``,\n+``client_id``, and ``client_secret``. For example:\n+\n+.. code-block:: python\n+\n+    import praw\n+\n+    my_user_agent = \"my user agent\"\n+    my_client_id = \"my client ID\"\n+    my_client_secret = \"my client secret\"\n+\n+    reddit = praw.Reddit(user_agent=my_user_agent,\n+                         client_id=my_client_id,\n+                         client_secret=my_client_secret)\n+\n+Just like that, now you've got a Reddit instance. Keep in mind though, this\n+instance is in *read-only* mode.\n+\n+.. code-block:: python\n+\n+    print(reddit.read_only) # Output: True\n+\n+You can do limited (read-only) things with this instance like \"getting 10\n+'hot' submissions of the 'learnpython' subreddit\":\n+\n+.. code-block:: python\n+\n+    # continue from code above\n+\n+    for submission in reddit.subreddit('learnpython').hot(limit=10): \n+        print(submission.title)\n+\n+    # Output: 10 submission titles\n+    \n+You can do some things with a read-only instance, but not a lot. In most cases\n+you would need a regular instance.\n+\n+The regular ``Reddit`` instance\n+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+In order to create a regular ``Reddit`` instance, two additional pieces of\n+settings information is required:\n+\n+4) your reddit user name, and\n+5) your reddit password\n+   \n+Again, you may choose to provide these by passing in key-word arguments,\n+``username`` and ``password``, when you call the ``Reddit`` initializer, like\n+this:\n+\n+.. code-block:: python\n+\n+    import praw\n+\n+    my_user_agent = \"my user agent\"\n+    my_client_id = \"my client ID\"\n+    my_client_secret = \"my client secret\"\n+    my_username = \"my username\"\n+    my_password = \"my password\"\n+\n+    reddit = praw.Reddit(user_agent=my_user_agent,\n+                         client_id=my_client_id,\n+                         client_secret=my_client_secret,\n+                         username=my_username,\n+                         password=my_password)\n+\n+    print(reddit.read_only) # Output: False\n \n+Now you can do whatever your reddit account is authorized to do. And you can\n+switch back to read-only mode whenever you want:\n \n-.. _submission-iteration:\n+.. code-block:: python\n+\n+    # continue from code above\n+    reddit.read_only = True\n+\n+Nonetheless, if you are uncomfortable of hard coding your credentials, we have\n+two other options for you.\n+\n+Providing Configuration Options\n+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n+\n+We have learned that five pieces of settings information are needed in order\n+to create a regular ``Reddit`` instance:\n+\n+1) user agent\n+2) client ID\n+3) client secret\n+4) your reddit user name\n+5) your reddit password\n+\n+And we have been passing these as key-word arguments to the ``Reddit``\n+initializer. If you look at the source, however, you may notice that the\n+``Reddit`` initializer does not directly ask for any of these parameters.\n+They are all passed along when creating a ``Config`` instance.\n+\n+So what happens if you don't pass any arguments when calling ``Reddit()``?\n+Then the ``Config`` class will look for those settings in two locations in the\n+following order of priority:\n+\n+1) environment variables of the settings names prefixed with ``praw_``.\n+   Specifically, these:\n+\n+   - ``user_agent``\n+   - ``praw_client_id``\n+   - ``praw_client_secret``\n+   - ``praw_username`` \n+   - ``praw_password``\n+\n+   For example, you can invoke your scirpt like this:\n+\n+.. code-block:: shell\n+\n+    praw_username=bboe praw_password=not_my_password python my_script.py\n+\n+2) in the ``praw.ini`` file you provide. The section name for these settings\n+   should be specified with an environment variable named ``praw_site``; if no\n+   such environment variable is set, the default section name is ``DEFAULT``.\n+   You can put your ``praw.ini`` file in one or both of the following places \n+   (both will be read if present):\n+   \n+   1. the working directory when you invoke your script\n+   2. your OS's config directory (for Linux, this is ``$XDG_CONFIG_HOME`` or \n+      ``$HOME/.config``; for Windows, this is ``${APPDATA}``)\n+\n+   If you don't know how to write ini files, follow `this example`_.\n+\n+.. _`this example`: https://github.com/praw-dev/praw/blob/praw4/praw/praw.ini\n+\n+Get a subreddit\n+---------------\n+\n+To get a ``Subreddit`` instance, all you need to know is the subreddit's\n+display name. Pass that name when calling the ``subreddit`` method of your\n+``Reddit`` instance. For example:\n+\n+.. code-block:: python\n+\n+    # assuming you have a Reddit instance referenced by reddit\n+    subreddit = reddit.subreddit(\"redditdev\")\n \n-Iterating Over Submissions\n---------------------------\n+    print(subreddit.display_name) # Output: redditdev\n+    print(subreddit.title) # Output: reddit Development\n+    print(subreddit.description) # Output: A subreddit for discussion of ...\n \n-There are two primary methods for iterating through submissions.\n+Get submissions from a subreddit\n+--------------------------------\n \n-The first method is to pick a subreddit, and then iterate through one of its\n-many generators of submissions, e.g., ``hot``, ``new``, or ``top``. In the\n-following example we build a list of submissions which may be used for later\n-processing.\n+Now that you have a ``Subreddit`` instance, you can get some submissions\n+(``Submission`` instances) from it! There are several ways of sorting all the\n+submissions of a subreddit: hot, new, top, etc. A ``Subreddit`` instance has a\n+method for each of these sorting approaches, namely, these:\n+\n+    ``controversial``\n+    ``gilded``\n+    ``hot``\n+    ``new``\n+    ``rising``\n+    ``top``\n+\n+Each of these methods will return ``ListingGenerator``, something that you can\n+iterate through. For example:\n \n .. code-block:: python\n \n-   submissions = []\n-   for submission in reddit.subreddit('python').hot():\n-       submissions.append(submission)\n+    # assuming you have a Subreddit instance referenced by subreddit\n+    for submission in subreddit.hot(limit=10):\n+        print(submission.title) # Output: the title of the submission\n+        print(submission.ups) # Output: upvote count\n+        print(submission.downs) # Output: downvote count\n+        print(submission.id) # Output: the ID of the submission\n+        print(submission.url) # Output: the URL of the submission\n \n-.. note:: Just like on the website, multiple subreddits can be specified by\n-   joining them with a plus (`+`), e.g., ``python+redditdev``.\n \n-The second method is to iterate over submissions from a subreddit's submission\n-stream (:meth:`praw.models.reddit.subreddit.SubredditStream.submissions`). A\n-submission stream indefinitely yields new submissions as they are made to\n-Reddit. For example:\n+You can create ``Submission`` instances in other ways too:\n \n .. code-block:: python\n \n-   subreddit = reddit.subreddit('python')\n-   for submission in subreddit.stream.submissions():\n-       print(submission.selftext)\n+    # assuming you have a Reddit instance referenced by reddit\n+    submission = reddit.submission(id=\"39zje0\")\n+    print(submission.title) # Output: reddit will soon only be available ...\n+\n+    # or\n+    submission = reddit.submission(url=\"https://www.reddit.com/......\")\n+\n+\n+Get redditors\n+-------------\n+\n+There are several ways to get a redditor (a ``Redditor`` instance), two of the\n+most common ones are:\n \n-The ``selftext`` attribute of a :class:`.Submission` contains the markdown\n-formatted text of a *self* type submission. For a complete list of attributes,\n-and their values, available on a PRAW object try the following:\n+    - via the ``author`` attribute of a ``Submission`` instance\n+    - call the ``redditor`` method on a ``Reddit`` instance\n+\n+For example:\n \n .. code-block:: python\n \n-   from pprint import pprint\n-   pprint(vars(submission))","path":"docs/pages/getting_started.rst","position":319,"original_position":300,"commit_id":"b96039589f6114d559f33626d5f5eb44ed00ff47","original_commit_id":"2cf33b30a3b75f1a450e34de1a9535553d22e963","user":{"login":"zhifuge","id":13208218,"avatar_url":"https://avatars.githubusercontent.com/u/13208218?v=3","gravatar_id":"","url":"https://api.github.com/users/zhifuge","html_url":"https://github.com/zhifuge","followers_url":"https://api.github.com/users/zhifuge/followers","following_url":"https://api.github.com/users/zhifuge/following{/other_user}","gists_url":"https://api.github.com/users/zhifuge/gists{/gist_id}","starred_url":"https://api.github.com/users/zhifuge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhifuge/subscriptions","organizations_url":"https://api.github.com/users/zhifuge/orgs","repos_url":"https://api.github.com/users/zhifuge/repos","events_url":"https://api.github.com/users/zhifuge/events{/privacy}","received_events_url":"https://api.github.com/users/zhifuge/received_events","type":"User","site_admin":false},"body":"Yes. This is not the final version of getting started. I can add a section dedicated on attributes and methods available. How about that?","created_at":"2016-09-03T20:03:21Z","updated_at":"2016-09-03T20:03:21Z","html_url":"https://github.com/praw-dev/praw/pull/669#discussion_r77442240","pull_request_url":"https://api.github.com/repos/praw-dev/praw/pulls/669","_links":{"self":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/comments/77442240"},"html":{"href":"https://github.com/praw-dev/praw/pull/669#discussion_r77442240"},"pull_request":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/669"}}},"pull_request":{"url":"https://api.github.com/repos/praw-dev/praw/pulls/669","id":83732947,"html_url":"https://github.com/praw-dev/praw/pull/669","diff_url":"https://github.com/praw-dev/praw/pull/669.diff","patch_url":"https://github.com/praw-dev/praw/pull/669.patch","issue_url":"https://api.github.com/repos/praw-dev/praw/issues/669","number":669,"state":"open","locked":false,"title":"New content for get started doc","user":{"login":"zhifuge","id":13208218,"avatar_url":"https://avatars.githubusercontent.com/u/13208218?v=3","gravatar_id":"","url":"https://api.github.com/users/zhifuge","html_url":"https://github.com/zhifuge","followers_url":"https://api.github.com/users/zhifuge/followers","following_url":"https://api.github.com/users/zhifuge/following{/other_user}","gists_url":"https://api.github.com/users/zhifuge/gists{/gist_id}","starred_url":"https://api.github.com/users/zhifuge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhifuge/subscriptions","organizations_url":"https://api.github.com/users/zhifuge/orgs","repos_url":"https://api.github.com/users/zhifuge/repos","events_url":"https://api.github.com/users/zhifuge/events{/privacy}","received_events_url":"https://api.github.com/users/zhifuge/received_events","type":"User","site_admin":false},"body":"Add prerequisites and the most common tasks.","created_at":"2016-09-02T01:28:26Z","updated_at":"2016-09-03T20:03:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"abb5d09d27c63be40e88d68b77a91ec3f1b6236d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/praw-dev/praw/pulls/669/commits","review_comments_url":"https://api.github.com/repos/praw-dev/praw/pulls/669/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/669/comments","statuses_url":"https://api.github.com/repos/praw-dev/praw/statuses/b96039589f6114d559f33626d5f5eb44ed00ff47","head":{"label":"zhifuge:praw4","ref":"praw4","sha":"b96039589f6114d559f33626d5f5eb44ed00ff47","user":{"login":"zhifuge","id":13208218,"avatar_url":"https://avatars.githubusercontent.com/u/13208218?v=3","gravatar_id":"","url":"https://api.github.com/users/zhifuge","html_url":"https://github.com/zhifuge","followers_url":"https://api.github.com/users/zhifuge/followers","following_url":"https://api.github.com/users/zhifuge/following{/other_user}","gists_url":"https://api.github.com/users/zhifuge/gists{/gist_id}","starred_url":"https://api.github.com/users/zhifuge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhifuge/subscriptions","organizations_url":"https://api.github.com/users/zhifuge/orgs","repos_url":"https://api.github.com/users/zhifuge/repos","events_url":"https://api.github.com/users/zhifuge/events{/privacy}","received_events_url":"https://api.github.com/users/zhifuge/received_events","type":"User","site_admin":false},"repo":{"id":66587173,"name":"praw","full_name":"zhifuge/praw","owner":{"login":"zhifuge","id":13208218,"avatar_url":"https://avatars.githubusercontent.com/u/13208218?v=3","gravatar_id":"","url":"https://api.github.com/users/zhifuge","html_url":"https://github.com/zhifuge","followers_url":"https://api.github.com/users/zhifuge/followers","following_url":"https://api.github.com/users/zhifuge/following{/other_user}","gists_url":"https://api.github.com/users/zhifuge/gists{/gist_id}","starred_url":"https://api.github.com/users/zhifuge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhifuge/subscriptions","organizations_url":"https://api.github.com/users/zhifuge/orgs","repos_url":"https://api.github.com/users/zhifuge/repos","events_url":"https://api.github.com/users/zhifuge/events{/privacy}","received_events_url":"https://api.github.com/users/zhifuge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhifuge/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/zhifuge/praw","forks_url":"https://api.github.com/repos/zhifuge/praw/forks","keys_url":"https://api.github.com/repos/zhifuge/praw/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhifuge/praw/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhifuge/praw/teams","hooks_url":"https://api.github.com/repos/zhifuge/praw/hooks","issue_events_url":"https://api.github.com/repos/zhifuge/praw/issues/events{/number}","events_url":"https://api.github.com/repos/zhifuge/praw/events","assignees_url":"https://api.github.com/repos/zhifuge/praw/assignees{/user}","branches_url":"https://api.github.com/repos/zhifuge/praw/branches{/branch}","tags_url":"https://api.github.com/repos/zhifuge/praw/tags","blobs_url":"https://api.github.com/repos/zhifuge/praw/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhifuge/praw/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhifuge/praw/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhifuge/praw/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhifuge/praw/statuses/{sha}","languages_url":"https://api.github.com/repos/zhifuge/praw/languages","stargazers_url":"https://api.github.com/repos/zhifuge/praw/stargazers","contributors_url":"https://api.github.com/repos/zhifuge/praw/contributors","subscribers_url":"https://api.github.com/repos/zhifuge/praw/subscribers","subscription_url":"https://api.github.com/repos/zhifuge/praw/subscription","commits_url":"https://api.github.com/repos/zhifuge/praw/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhifuge/praw/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhifuge/praw/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhifuge/praw/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhifuge/praw/contents/{+path}","compare_url":"https://api.github.com/repos/zhifuge/praw/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhifuge/praw/merges","archive_url":"https://api.github.com/repos/zhifuge/praw/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhifuge/praw/downloads","issues_url":"https://api.github.com/repos/zhifuge/praw/issues{/number}","pulls_url":"https://api.github.com/repos/zhifuge/praw/pulls{/number}","milestones_url":"https://api.github.com/repos/zhifuge/praw/milestones{/number}","notifications_url":"https://api.github.com/repos/zhifuge/praw/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhifuge/praw/labels{/name}","releases_url":"https://api.github.com/repos/zhifuge/praw/releases{/id}","deployments_url":"https://api.github.com/repos/zhifuge/praw/deployments","created_at":"2016-08-25T19:33:16Z","updated_at":"2016-08-25T19:33:19Z","pushed_at":"2016-09-02T01:50:01Z","git_url":"git://github.com/zhifuge/praw.git","ssh_url":"git@github.com:zhifuge/praw.git","clone_url":"https://github.com/zhifuge/praw.git","svn_url":"https://github.com/zhifuge/praw","homepage":"http://praw.readthedocs.io/en/praw4/","size":24299,"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":"praw4"}},"base":{"label":"praw-dev:praw4","ref":"praw4","sha":"59d277c9a88cd47b8b5cb7aee5fc20c6de9e614e","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-09-01T14:29:58Z","pushed_at":"2016-09-02T01:50:02Z","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":"http://praw.readthedocs.io/en/praw4/","size":25846,"stargazers_count":1047,"watchers_count":1047,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":212,"mirror_url":null,"open_issues_count":33,"forks":212,"open_issues":33,"watchers":1047,"default_branch":"praw4"}},"_links":{"self":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/669"},"html":{"href":"https://github.com/praw-dev/praw/pull/669"},"issue":{"href":"https://api.github.com/repos/praw-dev/praw/issues/669"},"comments":{"href":"https://api.github.com/repos/praw-dev/praw/issues/669/comments"},"review_comments":{"href":"https://api.github.com/repos/praw-dev/praw/pulls/669/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/669/commits"},"statuses":{"href":"https://api.github.com/repos/praw-dev/praw/statuses/b96039589f6114d559f33626d5f5eb44ed00ff47"}}}}
{"actor":{"display_login":"zhifuge"}}