{"action":"closed","number":25,"pull_request":{"url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/pulls/25","id":26826181,"html_url":"https://github.com/carlosbuenosvinos/php-geckoboard-api/pull/25","diff_url":"https://github.com/carlosbuenosvinos/php-geckoboard-api/pull/25.diff","patch_url":"https://github.com/carlosbuenosvinos/php-geckoboard-api/pull/25.patch","issue_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/issues/25","number":25,"state":"closed","locked":false,"title":"Improve Client class with proxy, timeout and customized client. Add Factory class.","user":{"login":"mathieupotier","id":10141454,"avatar_url":"https://avatars.githubusercontent.com/u/10141454?v=3","gravatar_id":"","url":"https://api.github.com/users/mathieupotier","html_url":"https://github.com/mathieupotier","followers_url":"https://api.github.com/users/mathieupotier/followers","following_url":"https://api.github.com/users/mathieupotier/following{/other_user}","gists_url":"https://api.github.com/users/mathieupotier/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieupotier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieupotier/subscriptions","organizations_url":"https://api.github.com/users/mathieupotier/orgs","repos_url":"https://api.github.com/users/mathieupotier/repos","events_url":"https://api.github.com/users/mathieupotier/events{/privacy}","received_events_url":"https://api.github.com/users/mathieupotier/received_events","type":"User","site_admin":false},"body":"I added an explicit way to get through proxy on querying Gecko.\r\nMy specific case : having to get through proxy only for internet network calls (cannot use HTTP_PROXY env var in this case).\r\nI implements a way to specify the proxy to get through for Gecko API calls.\r\n\r\nBC Break related to commit c87ad12 :\r\nI had merged your API with the one I created for my company.\r\n1°) Factory creation\r\n2°) enable user to link the GeckoAPI with a customized version of Guzzle Lib.\r\n3°) Implements Timeout and Proxy for Gecko push queries (update the push method).\r\n4°) Use Exception to raise blocking error.","created_at":"2015-01-05T14:24:54Z","updated_at":"2015-03-27T17:13:29Z","closed_at":"2015-03-27T17:13:29Z","merged_at":null,"merge_commit_sha":"1fbf7c0d935aa4def89703bba2b33519ad101c53","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/pulls/25/commits","review_comments_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/pulls/25/comments","review_comment_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/issues/25/comments","statuses_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/statuses/3cfd68635198dd4c7bae425c0132ea0bd4cb9305","head":{"label":"E-Merchant:master","ref":"master","sha":"3cfd68635198dd4c7bae425c0132ea0bd4cb9305","user":{"login":"E-Merchant","id":10452743,"avatar_url":"https://avatars.githubusercontent.com/u/10452743?v=3","gravatar_id":"","url":"https://api.github.com/users/E-Merchant","html_url":"https://github.com/E-Merchant","followers_url":"https://api.github.com/users/E-Merchant/followers","following_url":"https://api.github.com/users/E-Merchant/following{/other_user}","gists_url":"https://api.github.com/users/E-Merchant/gists{/gist_id}","starred_url":"https://api.github.com/users/E-Merchant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/E-Merchant/subscriptions","organizations_url":"https://api.github.com/users/E-Merchant/orgs","repos_url":"https://api.github.com/users/E-Merchant/repos","events_url":"https://api.github.com/users/E-Merchant/events{/privacy}","received_events_url":"https://api.github.com/users/E-Merchant/received_events","type":"Organization","site_admin":false},"repo":{"id":28809857,"name":"php-geckoboard-api","full_name":"E-Merchant/php-geckoboard-api","owner":{"login":"E-Merchant","id":10452743,"avatar_url":"https://avatars.githubusercontent.com/u/10452743?v=3","gravatar_id":"","url":"https://api.github.com/users/E-Merchant","html_url":"https://github.com/E-Merchant","followers_url":"https://api.github.com/users/E-Merchant/followers","following_url":"https://api.github.com/users/E-Merchant/following{/other_user}","gists_url":"https://api.github.com/users/E-Merchant/gists{/gist_id}","starred_url":"https://api.github.com/users/E-Merchant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/E-Merchant/subscriptions","organizations_url":"https://api.github.com/users/E-Merchant/orgs","repos_url":"https://api.github.com/users/E-Merchant/repos","events_url":"https://api.github.com/users/E-Merchant/events{/privacy}","received_events_url":"https://api.github.com/users/E-Merchant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/E-Merchant/php-geckoboard-api","description":"A PHP library for pushing data into Geckoboard custom widgets","fork":true,"url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api","forks_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/forks","keys_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/teams","hooks_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/hooks","issue_events_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/issues/events{/number}","events_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/events","assignees_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/assignees{/user}","branches_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/branches{/branch}","tags_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/tags","blobs_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/statuses/{sha}","languages_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/languages","stargazers_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/stargazers","contributors_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/contributors","subscribers_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/subscribers","subscription_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/subscription","commits_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/contents/{+path}","compare_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/merges","archive_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/downloads","issues_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/issues{/number}","pulls_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/pulls{/number}","milestones_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/milestones{/number}","notifications_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/labels{/name}","releases_url":"https://api.github.com/repos/E-Merchant/php-geckoboard-api/releases{/id}","created_at":"2015-01-05T11:27:00Z","updated_at":"2015-03-27T17:12:53Z","pushed_at":"2015-03-27T17:12:50Z","git_url":"git://github.com/E-Merchant/php-geckoboard-api.git","ssh_url":"git@github.com:E-Merchant/php-geckoboard-api.git","clone_url":"https://github.com/E-Merchant/php-geckoboard-api.git","svn_url":"https://github.com/E-Merchant/php-geckoboard-api","homepage":"http://www.geckoboard.com","size":233,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"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":"carlosbuenosvinos:master","ref":"master","sha":"c6600e9b687e03917d3fa234d632d0c6d78e2760","user":{"login":"carlosbuenosvinos","id":351553,"avatar_url":"https://avatars.githubusercontent.com/u/351553?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosbuenosvinos","html_url":"https://github.com/carlosbuenosvinos","followers_url":"https://api.github.com/users/carlosbuenosvinos/followers","following_url":"https://api.github.com/users/carlosbuenosvinos/following{/other_user}","gists_url":"https://api.github.com/users/carlosbuenosvinos/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosbuenosvinos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosbuenosvinos/subscriptions","organizations_url":"https://api.github.com/users/carlosbuenosvinos/orgs","repos_url":"https://api.github.com/users/carlosbuenosvinos/repos","events_url":"https://api.github.com/users/carlosbuenosvinos/events{/privacy}","received_events_url":"https://api.github.com/users/carlosbuenosvinos/received_events","type":"User","site_admin":false},"repo":{"id":8969814,"name":"php-geckoboard-api","full_name":"carlosbuenosvinos/php-geckoboard-api","owner":{"login":"carlosbuenosvinos","id":351553,"avatar_url":"https://avatars.githubusercontent.com/u/351553?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosbuenosvinos","html_url":"https://github.com/carlosbuenosvinos","followers_url":"https://api.github.com/users/carlosbuenosvinos/followers","following_url":"https://api.github.com/users/carlosbuenosvinos/following{/other_user}","gists_url":"https://api.github.com/users/carlosbuenosvinos/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosbuenosvinos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosbuenosvinos/subscriptions","organizations_url":"https://api.github.com/users/carlosbuenosvinos/orgs","repos_url":"https://api.github.com/users/carlosbuenosvinos/repos","events_url":"https://api.github.com/users/carlosbuenosvinos/events{/privacy}","received_events_url":"https://api.github.com/users/carlosbuenosvinos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carlosbuenosvinos/php-geckoboard-api","description":"A PHP library for pushing data into Geckoboard custom widgets","fork":false,"url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api","forks_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/forks","keys_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/teams","hooks_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/hooks","issue_events_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/issues/events{/number}","events_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/events","assignees_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/assignees{/user}","branches_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/branches{/branch}","tags_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/tags","blobs_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/statuses/{sha}","languages_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/languages","stargazers_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/stargazers","contributors_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/contributors","subscribers_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/subscribers","subscription_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/subscription","commits_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/contents/{+path}","compare_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/merges","archive_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/downloads","issues_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/issues{/number}","pulls_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/pulls{/number}","milestones_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/milestones{/number}","notifications_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/labels{/name}","releases_url":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/releases{/id}","created_at":"2013-03-23T12:21:07Z","updated_at":"2015-02-13T09:35:30Z","pushed_at":"2015-03-27T17:12:51Z","git_url":"git://github.com/carlosbuenosvinos/php-geckoboard-api.git","ssh_url":"git@github.com:carlosbuenosvinos/php-geckoboard-api.git","clone_url":"https://github.com/carlosbuenosvinos/php-geckoboard-api.git","svn_url":"https://github.com/carlosbuenosvinos/php-geckoboard-api","homepage":"http://www.geckoboard.com","size":573,"stargazers_count":27,"watchers_count":27,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":1,"forks":24,"open_issues":1,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/pulls/25"},"html":{"href":"https://github.com/carlosbuenosvinos/php-geckoboard-api/pull/25"},"issue":{"href":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/issues/25"},"comments":{"href":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/carlosbuenosvinos/php-geckoboard-api/statuses/3cfd68635198dd4c7bae425c0132ea0bd4cb9305"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":7,"additions":1114,"deletions":256,"changed_files":12}}