{"action":"opened","number":31,"pull_request":{"url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/pulls/31","id":102008223,"html_url":"https://github.com/theiconic/php-ga-measurement-protocol/pull/31","diff_url":"https://github.com/theiconic/php-ga-measurement-protocol/pull/31.diff","patch_url":"https://github.com/theiconic/php-ga-measurement-protocol/pull/31.patch","issue_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/issues/31","number":31,"state":"open","locked":false,"title":"Modify encode type","user":{"login":"ryo88c","id":77841,"avatar_url":"https://avatars.githubusercontent.com/u/77841?v=3","gravatar_id":"","url":"https://api.github.com/users/ryo88c","html_url":"https://github.com/ryo88c","followers_url":"https://api.github.com/users/ryo88c/followers","following_url":"https://api.github.com/users/ryo88c/following{/other_user}","gists_url":"https://api.github.com/users/ryo88c/gists{/gist_id}","starred_url":"https://api.github.com/users/ryo88c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryo88c/subscriptions","organizations_url":"https://api.github.com/users/ryo88c/orgs","repos_url":"https://api.github.com/users/ryo88c/repos","events_url":"https://api.github.com/users/ryo88c/events{/privacy}","received_events_url":"https://api.github.com/users/ryo88c/received_events","type":"User","site_admin":false},"body":"Hello, I tried to send search keyword in Japanese by this library, but the search keyword corrupted.\r\nI think request parameters to send to Google Analytics must be encoded based on RFC3986.\r\nspace must be `%20`, not `+`.\r\nI modified encode type of `http_build_query()` from RFC1738 to RFC3986.\r\n","created_at":"2017-01-18T06:39:41Z","updated_at":"2017-01-18T06:39:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/pulls/31/commits","review_comments_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/pulls/31/comments","review_comment_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/issues/31/comments","statuses_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/statuses/8e53102e5de7bbfd8f6ecb4ffea3269ae9761d12","head":{"label":"ryo88c:modify_enc_type","ref":"modify_enc_type","sha":"8e53102e5de7bbfd8f6ecb4ffea3269ae9761d12","user":{"login":"ryo88c","id":77841,"avatar_url":"https://avatars.githubusercontent.com/u/77841?v=3","gravatar_id":"","url":"https://api.github.com/users/ryo88c","html_url":"https://github.com/ryo88c","followers_url":"https://api.github.com/users/ryo88c/followers","following_url":"https://api.github.com/users/ryo88c/following{/other_user}","gists_url":"https://api.github.com/users/ryo88c/gists{/gist_id}","starred_url":"https://api.github.com/users/ryo88c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryo88c/subscriptions","organizations_url":"https://api.github.com/users/ryo88c/orgs","repos_url":"https://api.github.com/users/ryo88c/repos","events_url":"https://api.github.com/users/ryo88c/events{/privacy}","received_events_url":"https://api.github.com/users/ryo88c/received_events","type":"User","site_admin":false},"repo":{"id":79287795,"name":"php-ga-measurement-protocol","full_name":"ryo88c/php-ga-measurement-protocol","owner":{"login":"ryo88c","id":77841,"avatar_url":"https://avatars.githubusercontent.com/u/77841?v=3","gravatar_id":"","url":"https://api.github.com/users/ryo88c","html_url":"https://github.com/ryo88c","followers_url":"https://api.github.com/users/ryo88c/followers","following_url":"https://api.github.com/users/ryo88c/following{/other_user}","gists_url":"https://api.github.com/users/ryo88c/gists{/gist_id}","starred_url":"https://api.github.com/users/ryo88c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryo88c/subscriptions","organizations_url":"https://api.github.com/users/ryo88c/orgs","repos_url":"https://api.github.com/users/ryo88c/repos","events_url":"https://api.github.com/users/ryo88c/events{/privacy}","received_events_url":"https://api.github.com/users/ryo88c/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryo88c/php-ga-measurement-protocol","description":"Send data to Google Analytics from the server using PHP. Implements GA measurement protocol. ","fork":true,"url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol","forks_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/forks","keys_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/teams","hooks_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/hooks","issue_events_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/issues/events{/number}","events_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/events","assignees_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/assignees{/user}","branches_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/branches{/branch}","tags_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/tags","blobs_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/statuses/{sha}","languages_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/languages","stargazers_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/stargazers","contributors_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/contributors","subscribers_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/subscribers","subscription_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/subscription","commits_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/contents/{+path}","compare_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/merges","archive_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/downloads","issues_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/issues{/number}","pulls_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/pulls{/number}","milestones_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/milestones{/number}","notifications_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/labels{/name}","releases_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/releases{/id}","deployments_url":"https://api.github.com/repos/ryo88c/php-ga-measurement-protocol/deployments","created_at":"2017-01-18T00:43:34Z","updated_at":"2017-01-18T00:43:36Z","pushed_at":"2017-01-18T01:02:11Z","git_url":"git://github.com/ryo88c/php-ga-measurement-protocol.git","ssh_url":"git@github.com:ryo88c/php-ga-measurement-protocol.git","clone_url":"https://github.com/ryo88c/php-ga-measurement-protocol.git","svn_url":"https://github.com/ryo88c/php-ga-measurement-protocol","homepage":"","size":262,"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":"theiconic:master","ref":"master","sha":"9c3ffce31a65811a0511c2f70471961996dc242c","user":{"login":"theiconic","id":1742032,"avatar_url":"https://avatars.githubusercontent.com/u/1742032?v=3","gravatar_id":"","url":"https://api.github.com/users/theiconic","html_url":"https://github.com/theiconic","followers_url":"https://api.github.com/users/theiconic/followers","following_url":"https://api.github.com/users/theiconic/following{/other_user}","gists_url":"https://api.github.com/users/theiconic/gists{/gist_id}","starred_url":"https://api.github.com/users/theiconic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theiconic/subscriptions","organizations_url":"https://api.github.com/users/theiconic/orgs","repos_url":"https://api.github.com/users/theiconic/repos","events_url":"https://api.github.com/users/theiconic/events{/privacy}","received_events_url":"https://api.github.com/users/theiconic/received_events","type":"Organization","site_admin":false},"repo":{"id":24311711,"name":"php-ga-measurement-protocol","full_name":"theiconic/php-ga-measurement-protocol","owner":{"login":"theiconic","id":1742032,"avatar_url":"https://avatars.githubusercontent.com/u/1742032?v=3","gravatar_id":"","url":"https://api.github.com/users/theiconic","html_url":"https://github.com/theiconic","followers_url":"https://api.github.com/users/theiconic/followers","following_url":"https://api.github.com/users/theiconic/following{/other_user}","gists_url":"https://api.github.com/users/theiconic/gists{/gist_id}","starred_url":"https://api.github.com/users/theiconic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theiconic/subscriptions","organizations_url":"https://api.github.com/users/theiconic/orgs","repos_url":"https://api.github.com/users/theiconic/repos","events_url":"https://api.github.com/users/theiconic/events{/privacy}","received_events_url":"https://api.github.com/users/theiconic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/theiconic/php-ga-measurement-protocol","description":"Send data to Google Analytics from the server using PHP. Implements GA measurement protocol. ","fork":false,"url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol","forks_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/forks","keys_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/teams","hooks_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/hooks","issue_events_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/issues/events{/number}","events_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/events","assignees_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/assignees{/user}","branches_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/branches{/branch}","tags_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/tags","blobs_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/git/refs{/sha}","trees_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/statuses/{sha}","languages_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/languages","stargazers_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/stargazers","contributors_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/contributors","subscribers_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/subscribers","subscription_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/subscription","commits_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/commits{/sha}","git_commits_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/git/commits{/sha}","comments_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/comments{/number}","issue_comment_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/issues/comments{/number}","contents_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/contents/{+path}","compare_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/merges","archive_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/downloads","issues_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/issues{/number}","pulls_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/pulls{/number}","milestones_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/milestones{/number}","notifications_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/labels{/name}","releases_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/releases{/id}","deployments_url":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/deployments","created_at":"2014-09-22T02:41:31Z","updated_at":"2017-01-14T07:56:21Z","pushed_at":"2016-10-26T12:13:48Z","git_url":"git://github.com/theiconic/php-ga-measurement-protocol.git","ssh_url":"git@github.com:theiconic/php-ga-measurement-protocol.git","clone_url":"https://github.com/theiconic/php-ga-measurement-protocol.git","svn_url":"https://github.com/theiconic/php-ga-measurement-protocol","homepage":"","size":259,"stargazers_count":136,"watchers_count":136,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":8,"forks":33,"open_issues":8,"watchers":136,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/pulls/31"},"html":{"href":"https://github.com/theiconic/php-ga-measurement-protocol/pull/31"},"issue":{"href":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/issues/31"},"comments":{"href":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/theiconic/php-ga-measurement-protocol/statuses/8e53102e5de7bbfd8f6ecb4ffea3269ae9761d12"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"ryo88c"}}