{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/pulls/1","id":33605364,"html_url":"https://github.com/Japh/Envato-Marketplace-API-Wrapper-in-PHP/pull/1","diff_url":"https://github.com/Japh/Envato-Marketplace-API-Wrapper-in-PHP/pull/1.diff","patch_url":"https://github.com/Japh/Envato-Marketplace-API-Wrapper-in-PHP/pull/1.patch","issue_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/issues/1","number":1,"state":"open","locked":false,"title":"Setting user agent header for cURL requests ","user":{"login":"michal-szepielak","id":6048241,"avatar_url":"https://avatars.githubusercontent.com/u/6048241?v=3","gravatar_id":"","url":"https://api.github.com/users/michal-szepielak","html_url":"https://github.com/michal-szepielak","followers_url":"https://api.github.com/users/michal-szepielak/followers","following_url":"https://api.github.com/users/michal-szepielak/following{/other_user}","gists_url":"https://api.github.com/users/michal-szepielak/gists{/gist_id}","starred_url":"https://api.github.com/users/michal-szepielak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michal-szepielak/subscriptions","organizations_url":"https://api.github.com/users/michal-szepielak/orgs","repos_url":"https://api.github.com/users/michal-szepielak/repos","events_url":"https://api.github.com/users/michal-szepielak/events{/privacy}","received_events_url":"https://api.github.com/users/michal-szepielak/received_events","type":"User","site_admin":false},"body":"Hello,\r\n\r\naccording to Envato API rules (http://marketplace.envato.com/api/documentation), all requests to API should have set proper User Agent header. This patch fixes this issue.\r\n\r\nThanks,\r\nMichal","created_at":"2015-04-18T17:12:15Z","updated_at":"2015-04-18T17:12:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/issues/1/comments","statuses_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/statuses/b7633774a302db32245faad8422da5c6ff7fc8a1","head":{"label":"michal-szepielak:master","ref":"master","sha":"b7633774a302db32245faad8422da5c6ff7fc8a1","user":{"login":"michal-szepielak","id":6048241,"avatar_url":"https://avatars.githubusercontent.com/u/6048241?v=3","gravatar_id":"","url":"https://api.github.com/users/michal-szepielak","html_url":"https://github.com/michal-szepielak","followers_url":"https://api.github.com/users/michal-szepielak/followers","following_url":"https://api.github.com/users/michal-szepielak/following{/other_user}","gists_url":"https://api.github.com/users/michal-szepielak/gists{/gist_id}","starred_url":"https://api.github.com/users/michal-szepielak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michal-szepielak/subscriptions","organizations_url":"https://api.github.com/users/michal-szepielak/orgs","repos_url":"https://api.github.com/users/michal-szepielak/repos","events_url":"https://api.github.com/users/michal-szepielak/events{/privacy}","received_events_url":"https://api.github.com/users/michal-szepielak/received_events","type":"User","site_admin":false},"repo":{"id":34160269,"name":"Envato-Marketplace-API-Wrapper-in-PHP","full_name":"michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP","owner":{"login":"michal-szepielak","id":6048241,"avatar_url":"https://avatars.githubusercontent.com/u/6048241?v=3","gravatar_id":"","url":"https://api.github.com/users/michal-szepielak","html_url":"https://github.com/michal-szepielak","followers_url":"https://api.github.com/users/michal-szepielak/followers","following_url":"https://api.github.com/users/michal-szepielak/following{/other_user}","gists_url":"https://api.github.com/users/michal-szepielak/gists{/gist_id}","starred_url":"https://api.github.com/users/michal-szepielak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michal-szepielak/subscriptions","organizations_url":"https://api.github.com/users/michal-szepielak/orgs","repos_url":"https://api.github.com/users/michal-szepielak/repos","events_url":"https://api.github.com/users/michal-szepielak/events{/privacy}","received_events_url":"https://api.github.com/users/michal-szepielak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP","description":"This is a PHP wrapper class for the Envato marketplaces - like themeforest.net.","fork":true,"url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP","forks_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/forks","keys_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/teams","hooks_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/hooks","issue_events_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/issues/events{/number}","events_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/events","assignees_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/assignees{/user}","branches_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/branches{/branch}","tags_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/tags","blobs_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/statuses/{sha}","languages_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/languages","stargazers_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/stargazers","contributors_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/contributors","subscribers_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/subscribers","subscription_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/subscription","commits_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/issues/comments{/number}","contents_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/contents/{+path}","compare_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/merges","archive_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/downloads","issues_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/issues{/number}","pulls_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/pulls{/number}","milestones_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/milestones{/number}","notifications_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/labels{/name}","releases_url":"https://api.github.com/repos/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP/releases{/id}","created_at":"2015-04-18T09:32:43Z","updated_at":"2015-04-18T17:09:06Z","pushed_at":"2015-04-18T17:09:04Z","git_url":"git://github.com/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP.git","ssh_url":"git@github.com:michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP.git","clone_url":"https://github.com/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP.git","svn_url":"https://github.com/michal-szepielak/Envato-Marketplace-API-Wrapper-in-PHP","homepage":"","size":716,"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":"Japh:master","ref":"master","sha":"86b37ea5f797df47ced01c4d00ceceb44b84e950","user":{"login":"Japh","id":237905,"avatar_url":"https://avatars.githubusercontent.com/u/237905?v=3","gravatar_id":"","url":"https://api.github.com/users/Japh","html_url":"https://github.com/Japh","followers_url":"https://api.github.com/users/Japh/followers","following_url":"https://api.github.com/users/Japh/following{/other_user}","gists_url":"https://api.github.com/users/Japh/gists{/gist_id}","starred_url":"https://api.github.com/users/Japh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Japh/subscriptions","organizations_url":"https://api.github.com/users/Japh/orgs","repos_url":"https://api.github.com/users/Japh/repos","events_url":"https://api.github.com/users/Japh/events{/privacy}","received_events_url":"https://api.github.com/users/Japh/received_events","type":"User","site_admin":false},"repo":{"id":2051037,"name":"Envato-Marketplace-API-Wrapper-in-PHP","full_name":"Japh/Envato-Marketplace-API-Wrapper-in-PHP","owner":{"login":"Japh","id":237905,"avatar_url":"https://avatars.githubusercontent.com/u/237905?v=3","gravatar_id":"","url":"https://api.github.com/users/Japh","html_url":"https://github.com/Japh","followers_url":"https://api.github.com/users/Japh/followers","following_url":"https://api.github.com/users/Japh/following{/other_user}","gists_url":"https://api.github.com/users/Japh/gists{/gist_id}","starred_url":"https://api.github.com/users/Japh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Japh/subscriptions","organizations_url":"https://api.github.com/users/Japh/orgs","repos_url":"https://api.github.com/users/Japh/repos","events_url":"https://api.github.com/users/Japh/events{/privacy}","received_events_url":"https://api.github.com/users/Japh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Japh/Envato-Marketplace-API-Wrapper-in-PHP","description":"This is a PHP wrapper class for the Envato marketplaces - like themeforest.net.","fork":false,"url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP","forks_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/forks","keys_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/teams","hooks_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/hooks","issue_events_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/issues/events{/number}","events_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/events","assignees_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/assignees{/user}","branches_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/branches{/branch}","tags_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/tags","blobs_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/git/refs{/sha}","trees_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/statuses/{sha}","languages_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/languages","stargazers_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/stargazers","contributors_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/contributors","subscribers_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/subscribers","subscription_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/subscription","commits_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/commits{/sha}","git_commits_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/git/commits{/sha}","comments_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/comments{/number}","issue_comment_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/issues/comments{/number}","contents_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/contents/{+path}","compare_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/merges","archive_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/downloads","issues_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/issues{/number}","pulls_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/pulls{/number}","milestones_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/milestones{/number}","notifications_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/labels{/name}","releases_url":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/releases{/id}","created_at":"2011-07-15T02:34:12Z","updated_at":"2015-04-18T09:09:41Z","pushed_at":"2013-07-10T03:25:16Z","git_url":"git://github.com/Japh/Envato-Marketplace-API-Wrapper-in-PHP.git","ssh_url":"git@github.com:Japh/Envato-Marketplace-API-Wrapper-in-PHP.git","clone_url":"https://github.com/Japh/Envato-Marketplace-API-Wrapper-in-PHP.git","svn_url":"https://github.com/Japh/Envato-Marketplace-API-Wrapper-in-PHP","homepage":"","size":716,"stargazers_count":22,"watchers_count":22,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":1,"forks":23,"open_issues":1,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/pulls/1"},"html":{"href":"https://github.com/Japh/Envato-Marketplace-API-Wrapper-in-PHP/pull/1"},"issue":{"href":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/issues/1"},"comments":{"href":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Japh/Envato-Marketplace-API-Wrapper-in-PHP/statuses/b7633774a302db32245faad8422da5c6ff7fc8a1"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}