{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/PaulSec/API-malwr.com/pulls/4","id":50832606,"html_url":"https://github.com/PaulSec/API-malwr.com/pull/4","diff_url":"https://github.com/PaulSec/API-malwr.com/pull/4.diff","patch_url":"https://github.com/PaulSec/API-malwr.com/pull/4.patch","issue_url":"https://api.github.com/repos/PaulSec/API-malwr.com/issues/4","number":4,"state":"closed","locked":false,"title":"Code cleanup and small refactoring.","user":{"login":"leonjza","id":1148127,"avatar_url":"https://avatars.githubusercontent.com/u/1148127?v=3","gravatar_id":"","url":"https://api.github.com/users/leonjza","html_url":"https://github.com/leonjza","followers_url":"https://api.github.com/users/leonjza/followers","following_url":"https://api.github.com/users/leonjza/following{/other_user}","gists_url":"https://api.github.com/users/leonjza/gists{/gist_id}","starred_url":"https://api.github.com/users/leonjza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonjza/subscriptions","organizations_url":"https://api.github.com/users/leonjza/orgs","repos_url":"https://api.github.com/users/leonjza/repos","events_url":"https://api.github.com/users/leonjza/events{/privacy}","received_events_url":"https://api.github.com/users/leonjza/received_events","type":"User","site_admin":false},"body":"- Included a `requirements.txt` to detail the `requests` and `beautifulsoup4` dependencies. Can be installed with `pip install -r requirements.txt`.\r\n- Added a method `request_to_soup()` to remove some duplication.\r\n\r\nIt looks like 2 variables [here](https://github.com/leonjza/API-malwr.com/blob/41516bbbc106c91486e60a253a57c43711252c15/MalwrAPI.py#L139) and [here](https://github.com/leonjza/API-malwr.com/blob/41516bbbc106c91486e60a253a57c43711252c15/MalwrAPI.py#L155) are unused, so I marked them with TODO's","created_at":"2015-11-16T16:31:43Z","updated_at":"2015-11-16T16:37:22Z","closed_at":"2015-11-16T16:37:22Z","merged_at":"2015-11-16T16:37:22Z","merge_commit_sha":"ed2a8b65840f35cb76476b75e051684c398ab2ad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PaulSec/API-malwr.com/pulls/4/commits","review_comments_url":"https://api.github.com/repos/PaulSec/API-malwr.com/pulls/4/comments","review_comment_url":"https://api.github.com/repos/PaulSec/API-malwr.com/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PaulSec/API-malwr.com/issues/4/comments","statuses_url":"https://api.github.com/repos/PaulSec/API-malwr.com/statuses/41516bbbc106c91486e60a253a57c43711252c15","head":{"label":"leonjza:master","ref":"master","sha":"41516bbbc106c91486e60a253a57c43711252c15","user":{"login":"leonjza","id":1148127,"avatar_url":"https://avatars.githubusercontent.com/u/1148127?v=3","gravatar_id":"","url":"https://api.github.com/users/leonjza","html_url":"https://github.com/leonjza","followers_url":"https://api.github.com/users/leonjza/followers","following_url":"https://api.github.com/users/leonjza/following{/other_user}","gists_url":"https://api.github.com/users/leonjza/gists{/gist_id}","starred_url":"https://api.github.com/users/leonjza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonjza/subscriptions","organizations_url":"https://api.github.com/users/leonjza/orgs","repos_url":"https://api.github.com/users/leonjza/repos","events_url":"https://api.github.com/users/leonjza/events{/privacy}","received_events_url":"https://api.github.com/users/leonjza/received_events","type":"User","site_admin":false},"repo":{"id":46281972,"name":"API-malwr.com","full_name":"leonjza/API-malwr.com","owner":{"login":"leonjza","id":1148127,"avatar_url":"https://avatars.githubusercontent.com/u/1148127?v=3","gravatar_id":"","url":"https://api.github.com/users/leonjza","html_url":"https://github.com/leonjza","followers_url":"https://api.github.com/users/leonjza/followers","following_url":"https://api.github.com/users/leonjza/following{/other_user}","gists_url":"https://api.github.com/users/leonjza/gists{/gist_id}","starred_url":"https://api.github.com/users/leonjza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonjza/subscriptions","organizations_url":"https://api.github.com/users/leonjza/orgs","repos_url":"https://api.github.com/users/leonjza/repos","events_url":"https://api.github.com/users/leonjza/events{/privacy}","received_events_url":"https://api.github.com/users/leonjza/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leonjza/API-malwr.com","description":"(Unofficial) Python API for https://malwr.com/","fork":true,"url":"https://api.github.com/repos/leonjza/API-malwr.com","forks_url":"https://api.github.com/repos/leonjza/API-malwr.com/forks","keys_url":"https://api.github.com/repos/leonjza/API-malwr.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leonjza/API-malwr.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leonjza/API-malwr.com/teams","hooks_url":"https://api.github.com/repos/leonjza/API-malwr.com/hooks","issue_events_url":"https://api.github.com/repos/leonjza/API-malwr.com/issues/events{/number}","events_url":"https://api.github.com/repos/leonjza/API-malwr.com/events","assignees_url":"https://api.github.com/repos/leonjza/API-malwr.com/assignees{/user}","branches_url":"https://api.github.com/repos/leonjza/API-malwr.com/branches{/branch}","tags_url":"https://api.github.com/repos/leonjza/API-malwr.com/tags","blobs_url":"https://api.github.com/repos/leonjza/API-malwr.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leonjza/API-malwr.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leonjza/API-malwr.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/leonjza/API-malwr.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leonjza/API-malwr.com/statuses/{sha}","languages_url":"https://api.github.com/repos/leonjza/API-malwr.com/languages","stargazers_url":"https://api.github.com/repos/leonjza/API-malwr.com/stargazers","contributors_url":"https://api.github.com/repos/leonjza/API-malwr.com/contributors","subscribers_url":"https://api.github.com/repos/leonjza/API-malwr.com/subscribers","subscription_url":"https://api.github.com/repos/leonjza/API-malwr.com/subscription","commits_url":"https://api.github.com/repos/leonjza/API-malwr.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/leonjza/API-malwr.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/leonjza/API-malwr.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/leonjza/API-malwr.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/leonjza/API-malwr.com/contents/{+path}","compare_url":"https://api.github.com/repos/leonjza/API-malwr.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leonjza/API-malwr.com/merges","archive_url":"https://api.github.com/repos/leonjza/API-malwr.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leonjza/API-malwr.com/downloads","issues_url":"https://api.github.com/repos/leonjza/API-malwr.com/issues{/number}","pulls_url":"https://api.github.com/repos/leonjza/API-malwr.com/pulls{/number}","milestones_url":"https://api.github.com/repos/leonjza/API-malwr.com/milestones{/number}","notifications_url":"https://api.github.com/repos/leonjza/API-malwr.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leonjza/API-malwr.com/labels{/name}","releases_url":"https://api.github.com/repos/leonjza/API-malwr.com/releases{/id}","created_at":"2015-11-16T15:04:11Z","updated_at":"2015-11-16T15:04:12Z","pushed_at":"2015-11-16T16:27:29Z","git_url":"git://github.com/leonjza/API-malwr.com.git","ssh_url":"git@github.com:leonjza/API-malwr.com.git","clone_url":"https://github.com/leonjza/API-malwr.com.git","svn_url":"https://github.com/leonjza/API-malwr.com","homepage":null,"size":137,"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":"PaulSec:master","ref":"master","sha":"8a85ff6b87032bb62c59a93691922f777756b1d3","user":{"login":"PaulSec","id":4060683,"avatar_url":"https://avatars.githubusercontent.com/u/4060683?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulSec","html_url":"https://github.com/PaulSec","followers_url":"https://api.github.com/users/PaulSec/followers","following_url":"https://api.github.com/users/PaulSec/following{/other_user}","gists_url":"https://api.github.com/users/PaulSec/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulSec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulSec/subscriptions","organizations_url":"https://api.github.com/users/PaulSec/orgs","repos_url":"https://api.github.com/users/PaulSec/repos","events_url":"https://api.github.com/users/PaulSec/events{/privacy}","received_events_url":"https://api.github.com/users/PaulSec/received_events","type":"User","site_admin":false},"repo":{"id":33732640,"name":"API-malwr.com","full_name":"PaulSec/API-malwr.com","owner":{"login":"PaulSec","id":4060683,"avatar_url":"https://avatars.githubusercontent.com/u/4060683?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulSec","html_url":"https://github.com/PaulSec","followers_url":"https://api.github.com/users/PaulSec/followers","following_url":"https://api.github.com/users/PaulSec/following{/other_user}","gists_url":"https://api.github.com/users/PaulSec/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulSec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulSec/subscriptions","organizations_url":"https://api.github.com/users/PaulSec/orgs","repos_url":"https://api.github.com/users/PaulSec/repos","events_url":"https://api.github.com/users/PaulSec/events{/privacy}","received_events_url":"https://api.github.com/users/PaulSec/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PaulSec/API-malwr.com","description":"(Unofficial) Python API for https://malwr.com/","fork":false,"url":"https://api.github.com/repos/PaulSec/API-malwr.com","forks_url":"https://api.github.com/repos/PaulSec/API-malwr.com/forks","keys_url":"https://api.github.com/repos/PaulSec/API-malwr.com/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PaulSec/API-malwr.com/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PaulSec/API-malwr.com/teams","hooks_url":"https://api.github.com/repos/PaulSec/API-malwr.com/hooks","issue_events_url":"https://api.github.com/repos/PaulSec/API-malwr.com/issues/events{/number}","events_url":"https://api.github.com/repos/PaulSec/API-malwr.com/events","assignees_url":"https://api.github.com/repos/PaulSec/API-malwr.com/assignees{/user}","branches_url":"https://api.github.com/repos/PaulSec/API-malwr.com/branches{/branch}","tags_url":"https://api.github.com/repos/PaulSec/API-malwr.com/tags","blobs_url":"https://api.github.com/repos/PaulSec/API-malwr.com/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PaulSec/API-malwr.com/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PaulSec/API-malwr.com/git/refs{/sha}","trees_url":"https://api.github.com/repos/PaulSec/API-malwr.com/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PaulSec/API-malwr.com/statuses/{sha}","languages_url":"https://api.github.com/repos/PaulSec/API-malwr.com/languages","stargazers_url":"https://api.github.com/repos/PaulSec/API-malwr.com/stargazers","contributors_url":"https://api.github.com/repos/PaulSec/API-malwr.com/contributors","subscribers_url":"https://api.github.com/repos/PaulSec/API-malwr.com/subscribers","subscription_url":"https://api.github.com/repos/PaulSec/API-malwr.com/subscription","commits_url":"https://api.github.com/repos/PaulSec/API-malwr.com/commits{/sha}","git_commits_url":"https://api.github.com/repos/PaulSec/API-malwr.com/git/commits{/sha}","comments_url":"https://api.github.com/repos/PaulSec/API-malwr.com/comments{/number}","issue_comment_url":"https://api.github.com/repos/PaulSec/API-malwr.com/issues/comments{/number}","contents_url":"https://api.github.com/repos/PaulSec/API-malwr.com/contents/{+path}","compare_url":"https://api.github.com/repos/PaulSec/API-malwr.com/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PaulSec/API-malwr.com/merges","archive_url":"https://api.github.com/repos/PaulSec/API-malwr.com/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PaulSec/API-malwr.com/downloads","issues_url":"https://api.github.com/repos/PaulSec/API-malwr.com/issues{/number}","pulls_url":"https://api.github.com/repos/PaulSec/API-malwr.com/pulls{/number}","milestones_url":"https://api.github.com/repos/PaulSec/API-malwr.com/milestones{/number}","notifications_url":"https://api.github.com/repos/PaulSec/API-malwr.com/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PaulSec/API-malwr.com/labels{/name}","releases_url":"https://api.github.com/repos/PaulSec/API-malwr.com/releases{/id}","created_at":"2015-04-10T14:26:10Z","updated_at":"2015-10-18T18:22:05Z","pushed_at":"2015-11-16T16:37:23Z","git_url":"git://github.com/PaulSec/API-malwr.com.git","ssh_url":"git@github.com:PaulSec/API-malwr.com.git","clone_url":"https://github.com/PaulSec/API-malwr.com.git","svn_url":"https://github.com/PaulSec/API-malwr.com","homepage":null,"size":137,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":0,"forks":6,"open_issues":0,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PaulSec/API-malwr.com/pulls/4"},"html":{"href":"https://github.com/PaulSec/API-malwr.com/pull/4"},"issue":{"href":"https://api.github.com/repos/PaulSec/API-malwr.com/issues/4"},"comments":{"href":"https://api.github.com/repos/PaulSec/API-malwr.com/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/PaulSec/API-malwr.com/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/PaulSec/API-malwr.com/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PaulSec/API-malwr.com/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/PaulSec/API-malwr.com/statuses/41516bbbc106c91486e60a253a57c43711252c15"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"PaulSec","id":4060683,"avatar_url":"https://avatars.githubusercontent.com/u/4060683?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulSec","html_url":"https://github.com/PaulSec","followers_url":"https://api.github.com/users/PaulSec/followers","following_url":"https://api.github.com/users/PaulSec/following{/other_user}","gists_url":"https://api.github.com/users/PaulSec/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulSec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulSec/subscriptions","organizations_url":"https://api.github.com/users/PaulSec/orgs","repos_url":"https://api.github.com/users/PaulSec/repos","events_url":"https://api.github.com/users/PaulSec/events{/privacy}","received_events_url":"https://api.github.com/users/PaulSec/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":124,"deletions":76,"changed_files":3}}