{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/pulls/2","id":52398764,"html_url":"https://github.com/ldp940622/NeteaseCloudMusicApi/pull/2","diff_url":"https://github.com/ldp940622/NeteaseCloudMusicApi/pull/2.diff","patch_url":"https://github.com/ldp940622/NeteaseCloudMusicApi/pull/2.patch","issue_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/issues/2","number":2,"state":"open","locked":false,"title":"Code cleanup and some optimizations","user":{"login":"rotelok","id":10077304,"avatar_url":"https://avatars.githubusercontent.com/u/10077304?v=3","gravatar_id":"","url":"https://api.github.com/users/rotelok","html_url":"https://github.com/rotelok","followers_url":"https://api.github.com/users/rotelok/followers","following_url":"https://api.github.com/users/rotelok/following{/other_user}","gists_url":"https://api.github.com/users/rotelok/gists{/gist_id}","starred_url":"https://api.github.com/users/rotelok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rotelok/subscriptions","organizations_url":"https://api.github.com/users/rotelok/orgs","repos_url":"https://api.github.com/users/rotelok/repos","events_url":"https://api.github.com/users/rotelok/events{/privacy}","received_events_url":"https://api.github.com/users/rotelok/received_events","type":"User","site_admin":false},"body":"Hi, i've refactored a little bit your code, if you like you can merge it into your code tree","created_at":"2015-12-02T14:02:20Z","updated_at":"2015-12-02T14:02:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/pulls/2/commits","review_comments_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/pulls/2/comments","review_comment_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/issues/2/comments","statuses_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/statuses/b63b01713c97b7520970f225a16d5ce5f2ed80cf","head":{"label":"rotelok:master","ref":"master","sha":"b63b01713c97b7520970f225a16d5ce5f2ed80cf","user":{"login":"rotelok","id":10077304,"avatar_url":"https://avatars.githubusercontent.com/u/10077304?v=3","gravatar_id":"","url":"https://api.github.com/users/rotelok","html_url":"https://github.com/rotelok","followers_url":"https://api.github.com/users/rotelok/followers","following_url":"https://api.github.com/users/rotelok/following{/other_user}","gists_url":"https://api.github.com/users/rotelok/gists{/gist_id}","starred_url":"https://api.github.com/users/rotelok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rotelok/subscriptions","organizations_url":"https://api.github.com/users/rotelok/orgs","repos_url":"https://api.github.com/users/rotelok/repos","events_url":"https://api.github.com/users/rotelok/events{/privacy}","received_events_url":"https://api.github.com/users/rotelok/received_events","type":"User","site_admin":false},"repo":{"id":47263417,"name":"NeteaseCloudMusicApi","full_name":"rotelok/NeteaseCloudMusicApi","owner":{"login":"rotelok","id":10077304,"avatar_url":"https://avatars.githubusercontent.com/u/10077304?v=3","gravatar_id":"","url":"https://api.github.com/users/rotelok","html_url":"https://github.com/rotelok","followers_url":"https://api.github.com/users/rotelok/followers","following_url":"https://api.github.com/users/rotelok/following{/other_user}","gists_url":"https://api.github.com/users/rotelok/gists{/gist_id}","starred_url":"https://api.github.com/users/rotelok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rotelok/subscriptions","organizations_url":"https://api.github.com/users/rotelok/orgs","repos_url":"https://api.github.com/users/rotelok/repos","events_url":"https://api.github.com/users/rotelok/events{/privacy}","received_events_url":"https://api.github.com/users/rotelok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rotelok/NeteaseCloudMusicApi","description":"网易云音乐PHP版Api","fork":true,"url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi","forks_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/forks","keys_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/teams","hooks_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/hooks","issue_events_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/issues/events{/number}","events_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/events","assignees_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/assignees{/user}","branches_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/branches{/branch}","tags_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/tags","blobs_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/git/refs{/sha}","trees_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/statuses/{sha}","languages_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/languages","stargazers_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/stargazers","contributors_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/contributors","subscribers_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/subscribers","subscription_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/subscription","commits_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/commits{/sha}","git_commits_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/git/commits{/sha}","comments_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/comments{/number}","issue_comment_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/issues/comments{/number}","contents_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/contents/{+path}","compare_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/merges","archive_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/downloads","issues_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/issues{/number}","pulls_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/pulls{/number}","milestones_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/milestones{/number}","notifications_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/labels{/name}","releases_url":"https://api.github.com/repos/rotelok/NeteaseCloudMusicApi/releases{/id}","created_at":"2015-12-02T13:40:35Z","updated_at":"2015-12-02T13:40:35Z","pushed_at":"2015-12-02T13:58:49Z","git_url":"git://github.com/rotelok/NeteaseCloudMusicApi.git","ssh_url":"git@github.com:rotelok/NeteaseCloudMusicApi.git","clone_url":"https://github.com/rotelok/NeteaseCloudMusicApi.git","svn_url":"https://github.com/rotelok/NeteaseCloudMusicApi","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"ldp940622:master","ref":"master","sha":"091ac82ecb962a5fe99ec896c0ce3847809afa96","user":{"login":"ldp940622","id":7949493,"avatar_url":"https://avatars.githubusercontent.com/u/7949493?v=3","gravatar_id":"","url":"https://api.github.com/users/ldp940622","html_url":"https://github.com/ldp940622","followers_url":"https://api.github.com/users/ldp940622/followers","following_url":"https://api.github.com/users/ldp940622/following{/other_user}","gists_url":"https://api.github.com/users/ldp940622/gists{/gist_id}","starred_url":"https://api.github.com/users/ldp940622/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldp940622/subscriptions","organizations_url":"https://api.github.com/users/ldp940622/orgs","repos_url":"https://api.github.com/users/ldp940622/repos","events_url":"https://api.github.com/users/ldp940622/events{/privacy}","received_events_url":"https://api.github.com/users/ldp940622/received_events","type":"User","site_admin":false},"repo":{"id":35146980,"name":"NeteaseCloudMusicApi","full_name":"ldp940622/NeteaseCloudMusicApi","owner":{"login":"ldp940622","id":7949493,"avatar_url":"https://avatars.githubusercontent.com/u/7949493?v=3","gravatar_id":"","url":"https://api.github.com/users/ldp940622","html_url":"https://github.com/ldp940622","followers_url":"https://api.github.com/users/ldp940622/followers","following_url":"https://api.github.com/users/ldp940622/following{/other_user}","gists_url":"https://api.github.com/users/ldp940622/gists{/gist_id}","starred_url":"https://api.github.com/users/ldp940622/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ldp940622/subscriptions","organizations_url":"https://api.github.com/users/ldp940622/orgs","repos_url":"https://api.github.com/users/ldp940622/repos","events_url":"https://api.github.com/users/ldp940622/events{/privacy}","received_events_url":"https://api.github.com/users/ldp940622/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ldp940622/NeteaseCloudMusicApi","description":"网易云音乐PHP版Api","fork":false,"url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi","forks_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/forks","keys_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/teams","hooks_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/hooks","issue_events_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/issues/events{/number}","events_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/events","assignees_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/assignees{/user}","branches_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/branches{/branch}","tags_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/tags","blobs_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/git/refs{/sha}","trees_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/statuses/{sha}","languages_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/languages","stargazers_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/stargazers","contributors_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/contributors","subscribers_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/subscribers","subscription_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/subscription","commits_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/commits{/sha}","git_commits_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/git/commits{/sha}","comments_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/comments{/number}","issue_comment_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/issues/comments{/number}","contents_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/contents/{+path}","compare_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/merges","archive_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/downloads","issues_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/issues{/number}","pulls_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/pulls{/number}","milestones_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/milestones{/number}","notifications_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/labels{/name}","releases_url":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/releases{/id}","created_at":"2015-05-06T08:09:53Z","updated_at":"2015-06-26T09:09:10Z","pushed_at":"2015-05-29T10:46:19Z","git_url":"git://github.com/ldp940622/NeteaseCloudMusicApi.git","ssh_url":"git@github.com:ldp940622/NeteaseCloudMusicApi.git","clone_url":"https://github.com/ldp940622/NeteaseCloudMusicApi.git","svn_url":"https://github.com/ldp940622/NeteaseCloudMusicApi","homepage":null,"size":128,"stargazers_count":3,"watchers_count":3,"language":"PHP","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":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/pulls/2"},"html":{"href":"https://github.com/ldp940622/NeteaseCloudMusicApi/pull/2"},"issue":{"href":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/issues/2"},"comments":{"href":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/ldp940622/NeteaseCloudMusicApi/statuses/b63b01713c97b7520970f225a16d5ce5f2ed80cf"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":56,"deletions":46,"changed_files":1}}