{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/pulls/4","id":37455462,"html_url":"https://github.com/SendCloud/SendCloud-API-PHP-Wrapper/pull/4","diff_url":"https://github.com/SendCloud/SendCloud-API-PHP-Wrapper/pull/4.diff","patch_url":"https://github.com/SendCloud/SendCloud-API-PHP-Wrapper/pull/4.patch","issue_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/issues/4","number":4,"state":"closed","locked":false,"title":"Improve API","user":{"login":"Whazor","id":184182,"avatar_url":"https://avatars.githubusercontent.com/u/184182?v=3","gravatar_id":"","url":"https://api.github.com/users/Whazor","html_url":"https://github.com/Whazor","followers_url":"https://api.github.com/users/Whazor/followers","following_url":"https://api.github.com/users/Whazor/following{/other_user}","gists_url":"https://api.github.com/users/Whazor/gists{/gist_id}","starred_url":"https://api.github.com/users/Whazor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Whazor/subscriptions","organizations_url":"https://api.github.com/users/Whazor/orgs","repos_url":"https://api.github.com/users/Whazor/repos","events_url":"https://api.github.com/users/Whazor/events{/privacy}","received_events_url":"https://api.github.com/users/Whazor/received_events","type":"User","site_admin":false},"body":"Remove test url, improve error handling and add option to change api url externally, fixes #3 and #2.","created_at":"2015-06-11T11:54:46Z","updated_at":"2015-07-01T11:22:28Z","closed_at":"2015-07-01T11:22:28Z","merged_at":"2015-07-01T11:22:28Z","merge_commit_sha":"36edf954ff40d3b5204c1325fc48e4dd160fbf29","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/pulls/4/commits","review_comments_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/pulls/4/comments","review_comment_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/issues/4/comments","statuses_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/statuses/f08c9b782ce142e8a8f3d1c964474263e9c96958","head":{"label":"Whazor:master","ref":"master","sha":"f08c9b782ce142e8a8f3d1c964474263e9c96958","user":{"login":"Whazor","id":184182,"avatar_url":"https://avatars.githubusercontent.com/u/184182?v=3","gravatar_id":"","url":"https://api.github.com/users/Whazor","html_url":"https://github.com/Whazor","followers_url":"https://api.github.com/users/Whazor/followers","following_url":"https://api.github.com/users/Whazor/following{/other_user}","gists_url":"https://api.github.com/users/Whazor/gists{/gist_id}","starred_url":"https://api.github.com/users/Whazor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Whazor/subscriptions","organizations_url":"https://api.github.com/users/Whazor/orgs","repos_url":"https://api.github.com/users/Whazor/repos","events_url":"https://api.github.com/users/Whazor/events{/privacy}","received_events_url":"https://api.github.com/users/Whazor/received_events","type":"User","site_admin":false},"repo":{"id":37258140,"name":"SendCloud-API-PHP-Wrapper","full_name":"Whazor/SendCloud-API-PHP-Wrapper","owner":{"login":"Whazor","id":184182,"avatar_url":"https://avatars.githubusercontent.com/u/184182?v=3","gravatar_id":"","url":"https://api.github.com/users/Whazor","html_url":"https://github.com/Whazor","followers_url":"https://api.github.com/users/Whazor/followers","following_url":"https://api.github.com/users/Whazor/following{/other_user}","gists_url":"https://api.github.com/users/Whazor/gists{/gist_id}","starred_url":"https://api.github.com/users/Whazor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Whazor/subscriptions","organizations_url":"https://api.github.com/users/Whazor/orgs","repos_url":"https://api.github.com/users/Whazor/repos","events_url":"https://api.github.com/users/Whazor/events{/privacy}","received_events_url":"https://api.github.com/users/Whazor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Whazor/SendCloud-API-PHP-Wrapper","description":"Official SendCloud API PHP Wrapper","fork":true,"url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper","forks_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/forks","keys_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/teams","hooks_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/hooks","issue_events_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/issues/events{/number}","events_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/events","assignees_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/assignees{/user}","branches_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/branches{/branch}","tags_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/tags","blobs_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/git/refs{/sha}","trees_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/statuses/{sha}","languages_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/languages","stargazers_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/stargazers","contributors_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/contributors","subscribers_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/subscribers","subscription_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/subscription","commits_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/commits{/sha}","git_commits_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/git/commits{/sha}","comments_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/comments{/number}","issue_comment_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/issues/comments{/number}","contents_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/contents/{+path}","compare_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/merges","archive_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/downloads","issues_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/issues{/number}","pulls_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/pulls{/number}","milestones_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/milestones{/number}","notifications_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/labels{/name}","releases_url":"https://api.github.com/repos/Whazor/SendCloud-API-PHP-Wrapper/releases{/id}","created_at":"2015-06-11T11:52:07Z","updated_at":"2015-06-11T11:52:07Z","pushed_at":"2015-06-11T12:14:18Z","git_url":"git://github.com/Whazor/SendCloud-API-PHP-Wrapper.git","ssh_url":"git@github.com:Whazor/SendCloud-API-PHP-Wrapper.git","clone_url":"https://github.com/Whazor/SendCloud-API-PHP-Wrapper.git","svn_url":"https://github.com/Whazor/SendCloud-API-PHP-Wrapper","homepage":null,"size":109,"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":"SendCloud:master","ref":"master","sha":"f6bddc1f2a3dfa82938052de3b12ebb9f772dad3","user":{"login":"SendCloud","id":7831959,"avatar_url":"https://avatars.githubusercontent.com/u/7831959?v=3","gravatar_id":"","url":"https://api.github.com/users/SendCloud","html_url":"https://github.com/SendCloud","followers_url":"https://api.github.com/users/SendCloud/followers","following_url":"https://api.github.com/users/SendCloud/following{/other_user}","gists_url":"https://api.github.com/users/SendCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/SendCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SendCloud/subscriptions","organizations_url":"https://api.github.com/users/SendCloud/orgs","repos_url":"https://api.github.com/users/SendCloud/repos","events_url":"https://api.github.com/users/SendCloud/events{/privacy}","received_events_url":"https://api.github.com/users/SendCloud/received_events","type":"User","site_admin":false},"repo":{"id":25930189,"name":"SendCloud-API-PHP-Wrapper","full_name":"SendCloud/SendCloud-API-PHP-Wrapper","owner":{"login":"SendCloud","id":7831959,"avatar_url":"https://avatars.githubusercontent.com/u/7831959?v=3","gravatar_id":"","url":"https://api.github.com/users/SendCloud","html_url":"https://github.com/SendCloud","followers_url":"https://api.github.com/users/SendCloud/followers","following_url":"https://api.github.com/users/SendCloud/following{/other_user}","gists_url":"https://api.github.com/users/SendCloud/gists{/gist_id}","starred_url":"https://api.github.com/users/SendCloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SendCloud/subscriptions","organizations_url":"https://api.github.com/users/SendCloud/orgs","repos_url":"https://api.github.com/users/SendCloud/repos","events_url":"https://api.github.com/users/SendCloud/events{/privacy}","received_events_url":"https://api.github.com/users/SendCloud/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SendCloud/SendCloud-API-PHP-Wrapper","description":"Official SendCloud API PHP Wrapper","fork":false,"url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper","forks_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/forks","keys_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/teams","hooks_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/hooks","issue_events_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/issues/events{/number}","events_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/events","assignees_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/assignees{/user}","branches_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/branches{/branch}","tags_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/tags","blobs_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/git/refs{/sha}","trees_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/statuses/{sha}","languages_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/languages","stargazers_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/stargazers","contributors_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/contributors","subscribers_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/subscribers","subscription_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/subscription","commits_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/commits{/sha}","git_commits_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/git/commits{/sha}","comments_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/comments{/number}","issue_comment_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/issues/comments{/number}","contents_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/contents/{+path}","compare_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/merges","archive_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/downloads","issues_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/issues{/number}","pulls_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/pulls{/number}","milestones_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/milestones{/number}","notifications_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/labels{/name}","releases_url":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/releases{/id}","created_at":"2014-10-29T16:28:04Z","updated_at":"2015-03-12T08:03:53Z","pushed_at":"2015-07-01T11:22:29Z","git_url":"git://github.com/SendCloud/SendCloud-API-PHP-Wrapper.git","ssh_url":"git@github.com:SendCloud/SendCloud-API-PHP-Wrapper.git","clone_url":"https://github.com/SendCloud/SendCloud-API-PHP-Wrapper.git","svn_url":"https://github.com/SendCloud/SendCloud-API-PHP-Wrapper","homepage":null,"size":202,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/pulls/4"},"html":{"href":"https://github.com/SendCloud/SendCloud-API-PHP-Wrapper/pull/4"},"issue":{"href":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/issues/4"},"comments":{"href":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/SendCloud/SendCloud-API-PHP-Wrapper/statuses/f08c9b782ce142e8a8f3d1c964474263e9c96958"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Ecno92","id":5213399,"avatar_url":"https://avatars.githubusercontent.com/u/5213399?v=3","gravatar_id":"","url":"https://api.github.com/users/Ecno92","html_url":"https://github.com/Ecno92","followers_url":"https://api.github.com/users/Ecno92/followers","following_url":"https://api.github.com/users/Ecno92/following{/other_user}","gists_url":"https://api.github.com/users/Ecno92/gists{/gist_id}","starred_url":"https://api.github.com/users/Ecno92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ecno92/subscriptions","organizations_url":"https://api.github.com/users/Ecno92/orgs","repos_url":"https://api.github.com/users/Ecno92/repos","events_url":"https://api.github.com/users/Ecno92/events{/privacy}","received_events_url":"https://api.github.com/users/Ecno92/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":123,"deletions":97,"changed_files":2}}