{"action":"closed","number":10,"pull_request":{"url":"https://api.github.com/repos/samueldg/clippings/pulls/10","id":95109571,"html_url":"https://github.com/samueldg/clippings/pull/10","diff_url":"https://github.com/samueldg/clippings/pull/10.diff","patch_url":"https://github.com/samueldg/clippings/pull/10.patch","issue_url":"https://api.github.com/repos/samueldg/clippings/issues/10","number":10,"state":"closed","locked":false,"title":"Fix 'dict' and 'json' outputs, now return a list","user":{"login":"samueldg","id":4542383,"avatar_url":"https://avatars.githubusercontent.com/u/4542383?v=3","gravatar_id":"","url":"https://api.github.com/users/samueldg","html_url":"https://github.com/samueldg","followers_url":"https://api.github.com/users/samueldg/followers","following_url":"https://api.github.com/users/samueldg/following{/other_user}","gists_url":"https://api.github.com/users/samueldg/gists{/gist_id}","starred_url":"https://api.github.com/users/samueldg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samueldg/subscriptions","organizations_url":"https://api.github.com/users/samueldg/orgs","repos_url":"https://api.github.com/users/samueldg/repos","events_url":"https://api.github.com/users/samueldg/events{/privacy}","received_events_url":"https://api.github.com/users/samueldg/received_events","type":"User","site_admin":false},"body":"This changes the output format, but not having a single list\r\ndidn't make any sense from a caller's perspective.\r\n\r\nAlso extracted the formatting code in distinct functions, out\r\nof the main().","created_at":"2016-11-24T02:47:57Z","updated_at":"2016-11-24T02:49:10Z","closed_at":"2016-11-24T02:49:10Z","merged_at":"2016-11-24T02:49:10Z","merge_commit_sha":"73b3d55b2a29ba6103bcf315fb767afd7a0fbc65","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/samueldg/clippings/pulls/10/commits","review_comments_url":"https://api.github.com/repos/samueldg/clippings/pulls/10/comments","review_comment_url":"https://api.github.com/repos/samueldg/clippings/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samueldg/clippings/issues/10/comments","statuses_url":"https://api.github.com/repos/samueldg/clippings/statuses/60409fd9d6da012dbe7b35d7d14ecd1459a4c0f6","head":{"label":"samueldg:fix/dict_output_format","ref":"fix/dict_output_format","sha":"60409fd9d6da012dbe7b35d7d14ecd1459a4c0f6","user":{"login":"samueldg","id":4542383,"avatar_url":"https://avatars.githubusercontent.com/u/4542383?v=3","gravatar_id":"","url":"https://api.github.com/users/samueldg","html_url":"https://github.com/samueldg","followers_url":"https://api.github.com/users/samueldg/followers","following_url":"https://api.github.com/users/samueldg/following{/other_user}","gists_url":"https://api.github.com/users/samueldg/gists{/gist_id}","starred_url":"https://api.github.com/users/samueldg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samueldg/subscriptions","organizations_url":"https://api.github.com/users/samueldg/orgs","repos_url":"https://api.github.com/users/samueldg/repos","events_url":"https://api.github.com/users/samueldg/events{/privacy}","received_events_url":"https://api.github.com/users/samueldg/received_events","type":"User","site_admin":false},"repo":{"id":74244964,"name":"clippings","full_name":"samueldg/clippings","owner":{"login":"samueldg","id":4542383,"avatar_url":"https://avatars.githubusercontent.com/u/4542383?v=3","gravatar_id":"","url":"https://api.github.com/users/samueldg","html_url":"https://github.com/samueldg","followers_url":"https://api.github.com/users/samueldg/followers","following_url":"https://api.github.com/users/samueldg/following{/other_user}","gists_url":"https://api.github.com/users/samueldg/gists{/gist_id}","starred_url":"https://api.github.com/users/samueldg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samueldg/subscriptions","organizations_url":"https://api.github.com/users/samueldg/orgs","repos_url":"https://api.github.com/users/samueldg/repos","events_url":"https://api.github.com/users/samueldg/events{/privacy}","received_events_url":"https://api.github.com/users/samueldg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samueldg/clippings","description":"Python module to manipulate Kindle clippings files.","fork":false,"url":"https://api.github.com/repos/samueldg/clippings","forks_url":"https://api.github.com/repos/samueldg/clippings/forks","keys_url":"https://api.github.com/repos/samueldg/clippings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samueldg/clippings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samueldg/clippings/teams","hooks_url":"https://api.github.com/repos/samueldg/clippings/hooks","issue_events_url":"https://api.github.com/repos/samueldg/clippings/issues/events{/number}","events_url":"https://api.github.com/repos/samueldg/clippings/events","assignees_url":"https://api.github.com/repos/samueldg/clippings/assignees{/user}","branches_url":"https://api.github.com/repos/samueldg/clippings/branches{/branch}","tags_url":"https://api.github.com/repos/samueldg/clippings/tags","blobs_url":"https://api.github.com/repos/samueldg/clippings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samueldg/clippings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samueldg/clippings/git/refs{/sha}","trees_url":"https://api.github.com/repos/samueldg/clippings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samueldg/clippings/statuses/{sha}","languages_url":"https://api.github.com/repos/samueldg/clippings/languages","stargazers_url":"https://api.github.com/repos/samueldg/clippings/stargazers","contributors_url":"https://api.github.com/repos/samueldg/clippings/contributors","subscribers_url":"https://api.github.com/repos/samueldg/clippings/subscribers","subscription_url":"https://api.github.com/repos/samueldg/clippings/subscription","commits_url":"https://api.github.com/repos/samueldg/clippings/commits{/sha}","git_commits_url":"https://api.github.com/repos/samueldg/clippings/git/commits{/sha}","comments_url":"https://api.github.com/repos/samueldg/clippings/comments{/number}","issue_comment_url":"https://api.github.com/repos/samueldg/clippings/issues/comments{/number}","contents_url":"https://api.github.com/repos/samueldg/clippings/contents/{+path}","compare_url":"https://api.github.com/repos/samueldg/clippings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samueldg/clippings/merges","archive_url":"https://api.github.com/repos/samueldg/clippings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samueldg/clippings/downloads","issues_url":"https://api.github.com/repos/samueldg/clippings/issues{/number}","pulls_url":"https://api.github.com/repos/samueldg/clippings/pulls{/number}","milestones_url":"https://api.github.com/repos/samueldg/clippings/milestones{/number}","notifications_url":"https://api.github.com/repos/samueldg/clippings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samueldg/clippings/labels{/name}","releases_url":"https://api.github.com/repos/samueldg/clippings/releases{/id}","deployments_url":"https://api.github.com/repos/samueldg/clippings/deployments","created_at":"2016-11-20T00:59:22Z","updated_at":"2016-11-20T01:00:13Z","pushed_at":"2016-11-24T02:49:10Z","git_url":"git://github.com/samueldg/clippings.git","ssh_url":"git@github.com:samueldg/clippings.git","clone_url":"https://github.com/samueldg/clippings.git","svn_url":"https://github.com/samueldg/clippings","homepage":null,"size":29,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"samueldg:master","ref":"master","sha":"2ff95466bd72df5c924a62fd3bd97310d51f494c","user":{"login":"samueldg","id":4542383,"avatar_url":"https://avatars.githubusercontent.com/u/4542383?v=3","gravatar_id":"","url":"https://api.github.com/users/samueldg","html_url":"https://github.com/samueldg","followers_url":"https://api.github.com/users/samueldg/followers","following_url":"https://api.github.com/users/samueldg/following{/other_user}","gists_url":"https://api.github.com/users/samueldg/gists{/gist_id}","starred_url":"https://api.github.com/users/samueldg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samueldg/subscriptions","organizations_url":"https://api.github.com/users/samueldg/orgs","repos_url":"https://api.github.com/users/samueldg/repos","events_url":"https://api.github.com/users/samueldg/events{/privacy}","received_events_url":"https://api.github.com/users/samueldg/received_events","type":"User","site_admin":false},"repo":{"id":74244964,"name":"clippings","full_name":"samueldg/clippings","owner":{"login":"samueldg","id":4542383,"avatar_url":"https://avatars.githubusercontent.com/u/4542383?v=3","gravatar_id":"","url":"https://api.github.com/users/samueldg","html_url":"https://github.com/samueldg","followers_url":"https://api.github.com/users/samueldg/followers","following_url":"https://api.github.com/users/samueldg/following{/other_user}","gists_url":"https://api.github.com/users/samueldg/gists{/gist_id}","starred_url":"https://api.github.com/users/samueldg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samueldg/subscriptions","organizations_url":"https://api.github.com/users/samueldg/orgs","repos_url":"https://api.github.com/users/samueldg/repos","events_url":"https://api.github.com/users/samueldg/events{/privacy}","received_events_url":"https://api.github.com/users/samueldg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samueldg/clippings","description":"Python module to manipulate Kindle clippings files.","fork":false,"url":"https://api.github.com/repos/samueldg/clippings","forks_url":"https://api.github.com/repos/samueldg/clippings/forks","keys_url":"https://api.github.com/repos/samueldg/clippings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samueldg/clippings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samueldg/clippings/teams","hooks_url":"https://api.github.com/repos/samueldg/clippings/hooks","issue_events_url":"https://api.github.com/repos/samueldg/clippings/issues/events{/number}","events_url":"https://api.github.com/repos/samueldg/clippings/events","assignees_url":"https://api.github.com/repos/samueldg/clippings/assignees{/user}","branches_url":"https://api.github.com/repos/samueldg/clippings/branches{/branch}","tags_url":"https://api.github.com/repos/samueldg/clippings/tags","blobs_url":"https://api.github.com/repos/samueldg/clippings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samueldg/clippings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samueldg/clippings/git/refs{/sha}","trees_url":"https://api.github.com/repos/samueldg/clippings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samueldg/clippings/statuses/{sha}","languages_url":"https://api.github.com/repos/samueldg/clippings/languages","stargazers_url":"https://api.github.com/repos/samueldg/clippings/stargazers","contributors_url":"https://api.github.com/repos/samueldg/clippings/contributors","subscribers_url":"https://api.github.com/repos/samueldg/clippings/subscribers","subscription_url":"https://api.github.com/repos/samueldg/clippings/subscription","commits_url":"https://api.github.com/repos/samueldg/clippings/commits{/sha}","git_commits_url":"https://api.github.com/repos/samueldg/clippings/git/commits{/sha}","comments_url":"https://api.github.com/repos/samueldg/clippings/comments{/number}","issue_comment_url":"https://api.github.com/repos/samueldg/clippings/issues/comments{/number}","contents_url":"https://api.github.com/repos/samueldg/clippings/contents/{+path}","compare_url":"https://api.github.com/repos/samueldg/clippings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samueldg/clippings/merges","archive_url":"https://api.github.com/repos/samueldg/clippings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samueldg/clippings/downloads","issues_url":"https://api.github.com/repos/samueldg/clippings/issues{/number}","pulls_url":"https://api.github.com/repos/samueldg/clippings/pulls{/number}","milestones_url":"https://api.github.com/repos/samueldg/clippings/milestones{/number}","notifications_url":"https://api.github.com/repos/samueldg/clippings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samueldg/clippings/labels{/name}","releases_url":"https://api.github.com/repos/samueldg/clippings/releases{/id}","deployments_url":"https://api.github.com/repos/samueldg/clippings/deployments","created_at":"2016-11-20T00:59:22Z","updated_at":"2016-11-20T01:00:13Z","pushed_at":"2016-11-24T02:49:10Z","git_url":"git://github.com/samueldg/clippings.git","ssh_url":"git@github.com:samueldg/clippings.git","clone_url":"https://github.com/samueldg/clippings.git","svn_url":"https://github.com/samueldg/clippings","homepage":null,"size":29,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samueldg/clippings/pulls/10"},"html":{"href":"https://github.com/samueldg/clippings/pull/10"},"issue":{"href":"https://api.github.com/repos/samueldg/clippings/issues/10"},"comments":{"href":"https://api.github.com/repos/samueldg/clippings/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/samueldg/clippings/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/samueldg/clippings/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samueldg/clippings/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/samueldg/clippings/statuses/60409fd9d6da012dbe7b35d7d14ecd1459a4c0f6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"samueldg","id":4542383,"avatar_url":"https://avatars.githubusercontent.com/u/4542383?v=3","gravatar_id":"","url":"https://api.github.com/users/samueldg","html_url":"https://github.com/samueldg","followers_url":"https://api.github.com/users/samueldg/followers","following_url":"https://api.github.com/users/samueldg/following{/other_user}","gists_url":"https://api.github.com/users/samueldg/gists{/gist_id}","starred_url":"https://api.github.com/users/samueldg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samueldg/subscriptions","organizations_url":"https://api.github.com/users/samueldg/orgs","repos_url":"https://api.github.com/users/samueldg/repos","events_url":"https://api.github.com/users/samueldg/events{/privacy}","received_events_url":"https://api.github.com/users/samueldg/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":39,"deletions":13,"changed_files":1}}
{"actor":{"display_login":"samueldg"}}