{"action":"closed","number":7,"pull_request":{"url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/pulls/7","id":33600415,"html_url":"https://github.com/adamlwgriffiths/amazon_scraper/pull/7","diff_url":"https://github.com/adamlwgriffiths/amazon_scraper/pull/7.diff","patch_url":"https://github.com/adamlwgriffiths/amazon_scraper/pull/7.patch","issue_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/issues/7","number":7,"state":"closed","locked":false,"title":"Allow iterating over review pages and improve url returns","user":{"login":"hahnicity","id":3508859,"avatar_url":"https://avatars.githubusercontent.com/u/3508859?v=3","gravatar_id":"","url":"https://api.github.com/users/hahnicity","html_url":"https://github.com/hahnicity","followers_url":"https://api.github.com/users/hahnicity/followers","following_url":"https://api.github.com/users/hahnicity/following{/other_user}","gists_url":"https://api.github.com/users/hahnicity/gists{/gist_id}","starred_url":"https://api.github.com/users/hahnicity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hahnicity/subscriptions","organizations_url":"https://api.github.com/users/hahnicity/orgs","repos_url":"https://api.github.com/users/hahnicity/repos","events_url":"https://api.github.com/users/hahnicity/events{/privacy}","received_events_url":"https://api.github.com/users/hahnicity/received_events","type":"User","site_admin":false},"body":"We couldn't page over to the next review url by doing:\r\n```\r\nnew_reviews = amazon.reviews(URL=old_reviews.next_page_url)\r\n```\r\nbecause the new reviews url would instantly revert back to the way we were handling the old one. Also since we bothered doing some cleanup on the init method I noticed we could improve the way we were returning the url property by just returning self._URL.","created_at":"2015-04-18T10:54:07Z","updated_at":"2015-04-19T10:05:59Z","closed_at":"2015-04-19T10:05:59Z","merged_at":"2015-04-19T10:05:59Z","merge_commit_sha":"95903dd4e0f9b8faf296516379177f915eee160c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/pulls/7/commits","review_comments_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/pulls/7/comments","review_comment_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/issues/7/comments","statuses_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/statuses/fca6cf3af526521fbe892a2b3bece6e38038fca4","head":{"label":"hahnicity:master","ref":"master","sha":"fca6cf3af526521fbe892a2b3bece6e38038fca4","user":{"login":"hahnicity","id":3508859,"avatar_url":"https://avatars.githubusercontent.com/u/3508859?v=3","gravatar_id":"","url":"https://api.github.com/users/hahnicity","html_url":"https://github.com/hahnicity","followers_url":"https://api.github.com/users/hahnicity/followers","following_url":"https://api.github.com/users/hahnicity/following{/other_user}","gists_url":"https://api.github.com/users/hahnicity/gists{/gist_id}","starred_url":"https://api.github.com/users/hahnicity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hahnicity/subscriptions","organizations_url":"https://api.github.com/users/hahnicity/orgs","repos_url":"https://api.github.com/users/hahnicity/repos","events_url":"https://api.github.com/users/hahnicity/events{/privacy}","received_events_url":"https://api.github.com/users/hahnicity/received_events","type":"User","site_admin":false},"repo":{"id":33915215,"name":"amazon_scraper","full_name":"hahnicity/amazon_scraper","owner":{"login":"hahnicity","id":3508859,"avatar_url":"https://avatars.githubusercontent.com/u/3508859?v=3","gravatar_id":"","url":"https://api.github.com/users/hahnicity","html_url":"https://github.com/hahnicity","followers_url":"https://api.github.com/users/hahnicity/followers","following_url":"https://api.github.com/users/hahnicity/following{/other_user}","gists_url":"https://api.github.com/users/hahnicity/gists{/gist_id}","starred_url":"https://api.github.com/users/hahnicity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hahnicity/subscriptions","organizations_url":"https://api.github.com/users/hahnicity/orgs","repos_url":"https://api.github.com/users/hahnicity/repos","events_url":"https://api.github.com/users/hahnicity/events{/privacy}","received_events_url":"https://api.github.com/users/hahnicity/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hahnicity/amazon_scraper","description":"Provides content not accessible through the standard Amazon API","fork":true,"url":"https://api.github.com/repos/hahnicity/amazon_scraper","forks_url":"https://api.github.com/repos/hahnicity/amazon_scraper/forks","keys_url":"https://api.github.com/repos/hahnicity/amazon_scraper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hahnicity/amazon_scraper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hahnicity/amazon_scraper/teams","hooks_url":"https://api.github.com/repos/hahnicity/amazon_scraper/hooks","issue_events_url":"https://api.github.com/repos/hahnicity/amazon_scraper/issues/events{/number}","events_url":"https://api.github.com/repos/hahnicity/amazon_scraper/events","assignees_url":"https://api.github.com/repos/hahnicity/amazon_scraper/assignees{/user}","branches_url":"https://api.github.com/repos/hahnicity/amazon_scraper/branches{/branch}","tags_url":"https://api.github.com/repos/hahnicity/amazon_scraper/tags","blobs_url":"https://api.github.com/repos/hahnicity/amazon_scraper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hahnicity/amazon_scraper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hahnicity/amazon_scraper/git/refs{/sha}","trees_url":"https://api.github.com/repos/hahnicity/amazon_scraper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hahnicity/amazon_scraper/statuses/{sha}","languages_url":"https://api.github.com/repos/hahnicity/amazon_scraper/languages","stargazers_url":"https://api.github.com/repos/hahnicity/amazon_scraper/stargazers","contributors_url":"https://api.github.com/repos/hahnicity/amazon_scraper/contributors","subscribers_url":"https://api.github.com/repos/hahnicity/amazon_scraper/subscribers","subscription_url":"https://api.github.com/repos/hahnicity/amazon_scraper/subscription","commits_url":"https://api.github.com/repos/hahnicity/amazon_scraper/commits{/sha}","git_commits_url":"https://api.github.com/repos/hahnicity/amazon_scraper/git/commits{/sha}","comments_url":"https://api.github.com/repos/hahnicity/amazon_scraper/comments{/number}","issue_comment_url":"https://api.github.com/repos/hahnicity/amazon_scraper/issues/comments{/number}","contents_url":"https://api.github.com/repos/hahnicity/amazon_scraper/contents/{+path}","compare_url":"https://api.github.com/repos/hahnicity/amazon_scraper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hahnicity/amazon_scraper/merges","archive_url":"https://api.github.com/repos/hahnicity/amazon_scraper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hahnicity/amazon_scraper/downloads","issues_url":"https://api.github.com/repos/hahnicity/amazon_scraper/issues{/number}","pulls_url":"https://api.github.com/repos/hahnicity/amazon_scraper/pulls{/number}","milestones_url":"https://api.github.com/repos/hahnicity/amazon_scraper/milestones{/number}","notifications_url":"https://api.github.com/repos/hahnicity/amazon_scraper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hahnicity/amazon_scraper/labels{/name}","releases_url":"https://api.github.com/repos/hahnicity/amazon_scraper/releases{/id}","created_at":"2015-04-14T06:41:04Z","updated_at":"2015-04-18T19:55:42Z","pushed_at":"2015-04-18T19:55:42Z","git_url":"git://github.com/hahnicity/amazon_scraper.git","ssh_url":"git@github.com:hahnicity/amazon_scraper.git","clone_url":"https://github.com/hahnicity/amazon_scraper.git","svn_url":"https://github.com/hahnicity/amazon_scraper","homepage":null,"size":4697,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"adamlwgriffiths:master","ref":"master","sha":"f642678a96674dac633bdc60ca018994250b7416","user":{"login":"adamlwgriffiths","id":1239156,"avatar_url":"https://avatars.githubusercontent.com/u/1239156?v=3","gravatar_id":"","url":"https://api.github.com/users/adamlwgriffiths","html_url":"https://github.com/adamlwgriffiths","followers_url":"https://api.github.com/users/adamlwgriffiths/followers","following_url":"https://api.github.com/users/adamlwgriffiths/following{/other_user}","gists_url":"https://api.github.com/users/adamlwgriffiths/gists{/gist_id}","starred_url":"https://api.github.com/users/adamlwgriffiths/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamlwgriffiths/subscriptions","organizations_url":"https://api.github.com/users/adamlwgriffiths/orgs","repos_url":"https://api.github.com/users/adamlwgriffiths/repos","events_url":"https://api.github.com/users/adamlwgriffiths/events{/privacy}","received_events_url":"https://api.github.com/users/adamlwgriffiths/received_events","type":"User","site_admin":false},"repo":{"id":19571806,"name":"amazon_scraper","full_name":"adamlwgriffiths/amazon_scraper","owner":{"login":"adamlwgriffiths","id":1239156,"avatar_url":"https://avatars.githubusercontent.com/u/1239156?v=3","gravatar_id":"","url":"https://api.github.com/users/adamlwgriffiths","html_url":"https://github.com/adamlwgriffiths","followers_url":"https://api.github.com/users/adamlwgriffiths/followers","following_url":"https://api.github.com/users/adamlwgriffiths/following{/other_user}","gists_url":"https://api.github.com/users/adamlwgriffiths/gists{/gist_id}","starred_url":"https://api.github.com/users/adamlwgriffiths/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamlwgriffiths/subscriptions","organizations_url":"https://api.github.com/users/adamlwgriffiths/orgs","repos_url":"https://api.github.com/users/adamlwgriffiths/repos","events_url":"https://api.github.com/users/adamlwgriffiths/events{/privacy}","received_events_url":"https://api.github.com/users/adamlwgriffiths/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adamlwgriffiths/amazon_scraper","description":"Provides content not accessible through the standard Amazon API","fork":false,"url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper","forks_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/forks","keys_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/teams","hooks_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/hooks","issue_events_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/issues/events{/number}","events_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/events","assignees_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/assignees{/user}","branches_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/branches{/branch}","tags_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/tags","blobs_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/git/refs{/sha}","trees_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/statuses/{sha}","languages_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/languages","stargazers_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/stargazers","contributors_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/contributors","subscribers_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/subscribers","subscription_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/subscription","commits_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/commits{/sha}","git_commits_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/git/commits{/sha}","comments_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/comments{/number}","issue_comment_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/issues/comments{/number}","contents_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/contents/{+path}","compare_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/merges","archive_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/downloads","issues_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/issues{/number}","pulls_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/pulls{/number}","milestones_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/milestones{/number}","notifications_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/labels{/name}","releases_url":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/releases{/id}","created_at":"2014-05-08T12:00:45Z","updated_at":"2015-04-16T07:37:27Z","pushed_at":"2015-04-19T10:05:59Z","git_url":"git://github.com/adamlwgriffiths/amazon_scraper.git","ssh_url":"git@github.com:adamlwgriffiths/amazon_scraper.git","clone_url":"https://github.com/adamlwgriffiths/amazon_scraper.git","svn_url":"https://github.com/adamlwgriffiths/amazon_scraper","homepage":null,"size":4921,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":2,"forks":4,"open_issues":2,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/pulls/7"},"html":{"href":"https://github.com/adamlwgriffiths/amazon_scraper/pull/7"},"issue":{"href":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/issues/7"},"comments":{"href":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/adamlwgriffiths/amazon_scraper/statuses/fca6cf3af526521fbe892a2b3bece6e38038fca4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"hahnicity","id":3508859,"avatar_url":"https://avatars.githubusercontent.com/u/3508859?v=3","gravatar_id":"","url":"https://api.github.com/users/hahnicity","html_url":"https://github.com/hahnicity","followers_url":"https://api.github.com/users/hahnicity/followers","following_url":"https://api.github.com/users/hahnicity/following{/other_user}","gists_url":"https://api.github.com/users/hahnicity/gists{/gist_id}","starred_url":"https://api.github.com/users/hahnicity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hahnicity/subscriptions","organizations_url":"https://api.github.com/users/hahnicity/orgs","repos_url":"https://api.github.com/users/hahnicity/repos","events_url":"https://api.github.com/users/hahnicity/events{/privacy}","received_events_url":"https://api.github.com/users/hahnicity/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":5,"deletions":6,"changed_files":1}}