{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/UghThatGuyAgain/cGG/pulls/2","id":148025385,"html_url":"https://github.com/UghThatGuyAgain/cGG/pull/2","diff_url":"https://github.com/UghThatGuyAgain/cGG/pull/2.diff","patch_url":"https://github.com/UghThatGuyAgain/cGG/pull/2.patch","issue_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/issues/2","number":2,"state":"closed","locked":false,"title":"Random cleanup-type changes","user":{"login":"WxWatch","id":6795991,"avatar_url":"https://avatars1.githubusercontent.com/u/6795991?v=4","gravatar_id":"","url":"https://api.github.com/users/WxWatch","html_url":"https://github.com/WxWatch","followers_url":"https://api.github.com/users/WxWatch/followers","following_url":"https://api.github.com/users/WxWatch/following{/other_user}","gists_url":"https://api.github.com/users/WxWatch/gists{/gist_id}","starred_url":"https://api.github.com/users/WxWatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WxWatch/subscriptions","organizations_url":"https://api.github.com/users/WxWatch/orgs","repos_url":"https://api.github.com/users/WxWatch/repos","events_url":"https://api.github.com/users/WxWatch/events{/privacy}","received_events_url":"https://api.github.com/users/WxWatch/received_events","type":"User","site_admin":false},"body":"I added `node_modules` and `lib` to `.gitignore` so they wouldn't be committed to the repo.\n\nI took all the instances where you were using \"http://api.champion.gg/v2/\" and make it a private variable on the class. This way, if the URL ever changes, you only have to change it in once place.\n\nI also took every time you were building a `params` variable from a list of `tags` and make a separate function in a `util.ts` file. This way, if you ever want to change how you build params, you'll only need to change it in one place and it'll be changed everywhere you use it.","created_at":"2017-10-23T01:38:14Z","updated_at":"2017-10-23T01:42:42Z","closed_at":"2017-10-23T01:42:42Z","merged_at":"2017-10-23T01:42:42Z","merge_commit_sha":"729082a41e11774086f0fcdf3480e580b36b9e33","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/pulls/2/commits","review_comments_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/pulls/2/comments","review_comment_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/issues/2/comments","statuses_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/statuses/c5d0228ae542c646c98027f139b4ecdd575d357a","head":{"label":"WxWatch:patch-1","ref":"patch-1","sha":"c5d0228ae542c646c98027f139b4ecdd575d357a","user":{"login":"WxWatch","id":6795991,"avatar_url":"https://avatars1.githubusercontent.com/u/6795991?v=4","gravatar_id":"","url":"https://api.github.com/users/WxWatch","html_url":"https://github.com/WxWatch","followers_url":"https://api.github.com/users/WxWatch/followers","following_url":"https://api.github.com/users/WxWatch/following{/other_user}","gists_url":"https://api.github.com/users/WxWatch/gists{/gist_id}","starred_url":"https://api.github.com/users/WxWatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WxWatch/subscriptions","organizations_url":"https://api.github.com/users/WxWatch/orgs","repos_url":"https://api.github.com/users/WxWatch/repos","events_url":"https://api.github.com/users/WxWatch/events{/privacy}","received_events_url":"https://api.github.com/users/WxWatch/received_events","type":"User","site_admin":false},"repo":{"id":107915741,"name":"cGG","full_name":"WxWatch/cGG","owner":{"login":"WxWatch","id":6795991,"avatar_url":"https://avatars1.githubusercontent.com/u/6795991?v=4","gravatar_id":"","url":"https://api.github.com/users/WxWatch","html_url":"https://github.com/WxWatch","followers_url":"https://api.github.com/users/WxWatch/followers","following_url":"https://api.github.com/users/WxWatch/following{/other_user}","gists_url":"https://api.github.com/users/WxWatch/gists{/gist_id}","starred_url":"https://api.github.com/users/WxWatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WxWatch/subscriptions","organizations_url":"https://api.github.com/users/WxWatch/orgs","repos_url":"https://api.github.com/users/WxWatch/repos","events_url":"https://api.github.com/users/WxWatch/events{/privacy}","received_events_url":"https://api.github.com/users/WxWatch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WxWatch/cGG","description":"A wrapper for the ChampionGG API.","fork":true,"url":"https://api.github.com/repos/WxWatch/cGG","forks_url":"https://api.github.com/repos/WxWatch/cGG/forks","keys_url":"https://api.github.com/repos/WxWatch/cGG/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WxWatch/cGG/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WxWatch/cGG/teams","hooks_url":"https://api.github.com/repos/WxWatch/cGG/hooks","issue_events_url":"https://api.github.com/repos/WxWatch/cGG/issues/events{/number}","events_url":"https://api.github.com/repos/WxWatch/cGG/events","assignees_url":"https://api.github.com/repos/WxWatch/cGG/assignees{/user}","branches_url":"https://api.github.com/repos/WxWatch/cGG/branches{/branch}","tags_url":"https://api.github.com/repos/WxWatch/cGG/tags","blobs_url":"https://api.github.com/repos/WxWatch/cGG/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WxWatch/cGG/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WxWatch/cGG/git/refs{/sha}","trees_url":"https://api.github.com/repos/WxWatch/cGG/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WxWatch/cGG/statuses/{sha}","languages_url":"https://api.github.com/repos/WxWatch/cGG/languages","stargazers_url":"https://api.github.com/repos/WxWatch/cGG/stargazers","contributors_url":"https://api.github.com/repos/WxWatch/cGG/contributors","subscribers_url":"https://api.github.com/repos/WxWatch/cGG/subscribers","subscription_url":"https://api.github.com/repos/WxWatch/cGG/subscription","commits_url":"https://api.github.com/repos/WxWatch/cGG/commits{/sha}","git_commits_url":"https://api.github.com/repos/WxWatch/cGG/git/commits{/sha}","comments_url":"https://api.github.com/repos/WxWatch/cGG/comments{/number}","issue_comment_url":"https://api.github.com/repos/WxWatch/cGG/issues/comments{/number}","contents_url":"https://api.github.com/repos/WxWatch/cGG/contents/{+path}","compare_url":"https://api.github.com/repos/WxWatch/cGG/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WxWatch/cGG/merges","archive_url":"https://api.github.com/repos/WxWatch/cGG/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WxWatch/cGG/downloads","issues_url":"https://api.github.com/repos/WxWatch/cGG/issues{/number}","pulls_url":"https://api.github.com/repos/WxWatch/cGG/pulls{/number}","milestones_url":"https://api.github.com/repos/WxWatch/cGG/milestones{/number}","notifications_url":"https://api.github.com/repos/WxWatch/cGG/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WxWatch/cGG/labels{/name}","releases_url":"https://api.github.com/repos/WxWatch/cGG/releases{/id}","deployments_url":"https://api.github.com/repos/WxWatch/cGG/deployments","created_at":"2017-10-23T00:59:00Z","updated_at":"2017-10-23T00:59:02Z","pushed_at":"2017-10-23T01:36:03Z","git_url":"git://github.com/WxWatch/cGG.git","ssh_url":"git@github.com:WxWatch/cGG.git","clone_url":"https://github.com/WxWatch/cGG.git","svn_url":"https://github.com/WxWatch/cGG","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"UghThatGuyAgain:master","ref":"master","sha":"82c46266fc78ea3f99b1a1c467495749a4a4a2e7","user":{"login":"UghThatGuyAgain","id":25996923,"avatar_url":"https://avatars3.githubusercontent.com/u/25996923?v=4","gravatar_id":"","url":"https://api.github.com/users/UghThatGuyAgain","html_url":"https://github.com/UghThatGuyAgain","followers_url":"https://api.github.com/users/UghThatGuyAgain/followers","following_url":"https://api.github.com/users/UghThatGuyAgain/following{/other_user}","gists_url":"https://api.github.com/users/UghThatGuyAgain/gists{/gist_id}","starred_url":"https://api.github.com/users/UghThatGuyAgain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UghThatGuyAgain/subscriptions","organizations_url":"https://api.github.com/users/UghThatGuyAgain/orgs","repos_url":"https://api.github.com/users/UghThatGuyAgain/repos","events_url":"https://api.github.com/users/UghThatGuyAgain/events{/privacy}","received_events_url":"https://api.github.com/users/UghThatGuyAgain/received_events","type":"User","site_admin":false},"repo":{"id":107824499,"name":"cGG","full_name":"UghThatGuyAgain/cGG","owner":{"login":"UghThatGuyAgain","id":25996923,"avatar_url":"https://avatars3.githubusercontent.com/u/25996923?v=4","gravatar_id":"","url":"https://api.github.com/users/UghThatGuyAgain","html_url":"https://github.com/UghThatGuyAgain","followers_url":"https://api.github.com/users/UghThatGuyAgain/followers","following_url":"https://api.github.com/users/UghThatGuyAgain/following{/other_user}","gists_url":"https://api.github.com/users/UghThatGuyAgain/gists{/gist_id}","starred_url":"https://api.github.com/users/UghThatGuyAgain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UghThatGuyAgain/subscriptions","organizations_url":"https://api.github.com/users/UghThatGuyAgain/orgs","repos_url":"https://api.github.com/users/UghThatGuyAgain/repos","events_url":"https://api.github.com/users/UghThatGuyAgain/events{/privacy}","received_events_url":"https://api.github.com/users/UghThatGuyAgain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/UghThatGuyAgain/cGG","description":"A wrapper for the ChampionGG API.","fork":false,"url":"https://api.github.com/repos/UghThatGuyAgain/cGG","forks_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/forks","keys_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/teams","hooks_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/hooks","issue_events_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/issues/events{/number}","events_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/events","assignees_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/assignees{/user}","branches_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/branches{/branch}","tags_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/tags","blobs_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/git/refs{/sha}","trees_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/statuses/{sha}","languages_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/languages","stargazers_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/stargazers","contributors_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/contributors","subscribers_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/subscribers","subscription_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/subscription","commits_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/commits{/sha}","git_commits_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/git/commits{/sha}","comments_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/comments{/number}","issue_comment_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/issues/comments{/number}","contents_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/contents/{+path}","compare_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/merges","archive_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/downloads","issues_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/issues{/number}","pulls_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/pulls{/number}","milestones_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/milestones{/number}","notifications_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/labels{/name}","releases_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/releases{/id}","deployments_url":"https://api.github.com/repos/UghThatGuyAgain/cGG/deployments","created_at":"2017-10-21T23:53:41Z","updated_at":"2017-10-22T00:13:35Z","pushed_at":"2017-10-23T01:42:42Z","git_url":"git://github.com/UghThatGuyAgain/cGG.git","ssh_url":"git@github.com:UghThatGuyAgain/cGG.git","clone_url":"https://github.com/UghThatGuyAgain/cGG.git","svn_url":"https://github.com/UghThatGuyAgain/cGG","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UghThatGuyAgain/cGG/pulls/2"},"html":{"href":"https://github.com/UghThatGuyAgain/cGG/pull/2"},"issue":{"href":"https://api.github.com/repos/UghThatGuyAgain/cGG/issues/2"},"comments":{"href":"https://api.github.com/repos/UghThatGuyAgain/cGG/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/UghThatGuyAgain/cGG/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/UghThatGuyAgain/cGG/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UghThatGuyAgain/cGG/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/UghThatGuyAgain/cGG/statuses/c5d0228ae542c646c98027f139b4ecdd575d357a"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"UghThatGuyAgain","id":25996923,"avatar_url":"https://avatars3.githubusercontent.com/u/25996923?v=4","gravatar_id":"","url":"https://api.github.com/users/UghThatGuyAgain","html_url":"https://github.com/UghThatGuyAgain","followers_url":"https://api.github.com/users/UghThatGuyAgain/followers","following_url":"https://api.github.com/users/UghThatGuyAgain/following{/other_user}","gists_url":"https://api.github.com/users/UghThatGuyAgain/gists{/gist_id}","starred_url":"https://api.github.com/users/UghThatGuyAgain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UghThatGuyAgain/subscriptions","organizations_url":"https://api.github.com/users/UghThatGuyAgain/orgs","repos_url":"https://api.github.com/users/UghThatGuyAgain/repos","events_url":"https://api.github.com/users/UghThatGuyAgain/events{/privacy}","received_events_url":"https://api.github.com/users/UghThatGuyAgain/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":26,"deletions":30,"changed_files":3}}
{"actor":{"display_login":"UghThatGuyAgain"}}