{"action":"opened","number":140,"pull_request":{"url":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/140","id":62338714,"html_url":"https://github.com/googlemaps/google-maps-services-java/pull/140","diff_url":"https://github.com/googlemaps/google-maps-services-java/pull/140.diff","patch_url":"https://github.com/googlemaps/google-maps-services-java/pull/140.patch","issue_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/140","number":140,"state":"open","locked":false,"title":"Fix places autocomplete types parameter and introduced correct type enum","user":{"login":"mikkelspring","id":14224932,"avatar_url":"https://avatars.githubusercontent.com/u/14224932?v=3","gravatar_id":"","url":"https://api.github.com/users/mikkelspring","html_url":"https://github.com/mikkelspring","followers_url":"https://api.github.com/users/mikkelspring/followers","following_url":"https://api.github.com/users/mikkelspring/following{/other_user}","gists_url":"https://api.github.com/users/mikkelspring/gists{/gist_id}","starred_url":"https://api.github.com/users/mikkelspring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikkelspring/subscriptions","organizations_url":"https://api.github.com/users/mikkelspring/orgs","repos_url":"https://api.github.com/users/mikkelspring/repos","events_url":"https://api.github.com/users/mikkelspring/events{/privacy}","received_events_url":"https://api.github.com/users/mikkelspring/received_events","type":"User","site_admin":false},"body":"Based on my understanding, the autocomplete for places is slightly different than the places search. In particular, it has a parameter name \"types\" that takes a restricted set of values.\r\n\r\nhttps://developers.google.com/places/web-service/autocomplete\r\n\r\nThis PR adjusts the autocomplete to reflect this","created_at":"2016-03-10T04:39:57Z","updated_at":"2016-03-10T04:39:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/140/commits","review_comments_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/140/comments","review_comment_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/140/comments","statuses_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/statuses/cc5f53402b4a5ded9e5f4248253a6e5bd4ebdf9b","head":{"label":"springnz:autocomplete-type-fix","ref":"autocomplete-type-fix","sha":"cc5f53402b4a5ded9e5f4248253a6e5bd4ebdf9b","user":{"login":"springnz","id":15024031,"avatar_url":"https://avatars.githubusercontent.com/u/15024031?v=3","gravatar_id":"","url":"https://api.github.com/users/springnz","html_url":"https://github.com/springnz","followers_url":"https://api.github.com/users/springnz/followers","following_url":"https://api.github.com/users/springnz/following{/other_user}","gists_url":"https://api.github.com/users/springnz/gists{/gist_id}","starred_url":"https://api.github.com/users/springnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springnz/subscriptions","organizations_url":"https://api.github.com/users/springnz/orgs","repos_url":"https://api.github.com/users/springnz/repos","events_url":"https://api.github.com/users/springnz/events{/privacy}","received_events_url":"https://api.github.com/users/springnz/received_events","type":"Organization","site_admin":false},"repo":{"id":53467466,"name":"google-maps-services-java","full_name":"springnz/google-maps-services-java","owner":{"login":"springnz","id":15024031,"avatar_url":"https://avatars.githubusercontent.com/u/15024031?v=3","gravatar_id":"","url":"https://api.github.com/users/springnz","html_url":"https://github.com/springnz","followers_url":"https://api.github.com/users/springnz/followers","following_url":"https://api.github.com/users/springnz/following{/other_user}","gists_url":"https://api.github.com/users/springnz/gists{/gist_id}","starred_url":"https://api.github.com/users/springnz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springnz/subscriptions","organizations_url":"https://api.github.com/users/springnz/orgs","repos_url":"https://api.github.com/users/springnz/repos","events_url":"https://api.github.com/users/springnz/events{/privacy}","received_events_url":"https://api.github.com/users/springnz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/springnz/google-maps-services-java","description":"Java client library for Google Maps API Web Services","fork":true,"url":"https://api.github.com/repos/springnz/google-maps-services-java","forks_url":"https://api.github.com/repos/springnz/google-maps-services-java/forks","keys_url":"https://api.github.com/repos/springnz/google-maps-services-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/springnz/google-maps-services-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/springnz/google-maps-services-java/teams","hooks_url":"https://api.github.com/repos/springnz/google-maps-services-java/hooks","issue_events_url":"https://api.github.com/repos/springnz/google-maps-services-java/issues/events{/number}","events_url":"https://api.github.com/repos/springnz/google-maps-services-java/events","assignees_url":"https://api.github.com/repos/springnz/google-maps-services-java/assignees{/user}","branches_url":"https://api.github.com/repos/springnz/google-maps-services-java/branches{/branch}","tags_url":"https://api.github.com/repos/springnz/google-maps-services-java/tags","blobs_url":"https://api.github.com/repos/springnz/google-maps-services-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/springnz/google-maps-services-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/springnz/google-maps-services-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/springnz/google-maps-services-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/springnz/google-maps-services-java/statuses/{sha}","languages_url":"https://api.github.com/repos/springnz/google-maps-services-java/languages","stargazers_url":"https://api.github.com/repos/springnz/google-maps-services-java/stargazers","contributors_url":"https://api.github.com/repos/springnz/google-maps-services-java/contributors","subscribers_url":"https://api.github.com/repos/springnz/google-maps-services-java/subscribers","subscription_url":"https://api.github.com/repos/springnz/google-maps-services-java/subscription","commits_url":"https://api.github.com/repos/springnz/google-maps-services-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/springnz/google-maps-services-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/springnz/google-maps-services-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/springnz/google-maps-services-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/springnz/google-maps-services-java/contents/{+path}","compare_url":"https://api.github.com/repos/springnz/google-maps-services-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/springnz/google-maps-services-java/merges","archive_url":"https://api.github.com/repos/springnz/google-maps-services-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/springnz/google-maps-services-java/downloads","issues_url":"https://api.github.com/repos/springnz/google-maps-services-java/issues{/number}","pulls_url":"https://api.github.com/repos/springnz/google-maps-services-java/pulls{/number}","milestones_url":"https://api.github.com/repos/springnz/google-maps-services-java/milestones{/number}","notifications_url":"https://api.github.com/repos/springnz/google-maps-services-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/springnz/google-maps-services-java/labels{/name}","releases_url":"https://api.github.com/repos/springnz/google-maps-services-java/releases{/id}","deployments_url":"https://api.github.com/repos/springnz/google-maps-services-java/deployments","created_at":"2016-03-09T04:14:24Z","updated_at":"2016-03-09T04:14:25Z","pushed_at":"2016-03-10T04:34:11Z","git_url":"git://github.com/springnz/google-maps-services-java.git","ssh_url":"git@github.com:springnz/google-maps-services-java.git","clone_url":"https://github.com/springnz/google-maps-services-java.git","svn_url":"https://github.com/springnz/google-maps-services-java","homepage":"","size":1089,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"googlemaps:master","ref":"master","sha":"7e87d9ca3b9cc04ca1a8e95a9374f72403e7845e","user":{"login":"googlemaps","id":3717923,"avatar_url":"https://avatars.githubusercontent.com/u/3717923?v=3","gravatar_id":"","url":"https://api.github.com/users/googlemaps","html_url":"https://github.com/googlemaps","followers_url":"https://api.github.com/users/googlemaps/followers","following_url":"https://api.github.com/users/googlemaps/following{/other_user}","gists_url":"https://api.github.com/users/googlemaps/gists{/gist_id}","starred_url":"https://api.github.com/users/googlemaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlemaps/subscriptions","organizations_url":"https://api.github.com/users/googlemaps/orgs","repos_url":"https://api.github.com/users/googlemaps/repos","events_url":"https://api.github.com/users/googlemaps/events{/privacy}","received_events_url":"https://api.github.com/users/googlemaps/received_events","type":"Organization","site_admin":false},"repo":{"id":22978651,"name":"google-maps-services-java","full_name":"googlemaps/google-maps-services-java","owner":{"login":"googlemaps","id":3717923,"avatar_url":"https://avatars.githubusercontent.com/u/3717923?v=3","gravatar_id":"","url":"https://api.github.com/users/googlemaps","html_url":"https://github.com/googlemaps","followers_url":"https://api.github.com/users/googlemaps/followers","following_url":"https://api.github.com/users/googlemaps/following{/other_user}","gists_url":"https://api.github.com/users/googlemaps/gists{/gist_id}","starred_url":"https://api.github.com/users/googlemaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googlemaps/subscriptions","organizations_url":"https://api.github.com/users/googlemaps/orgs","repos_url":"https://api.github.com/users/googlemaps/repos","events_url":"https://api.github.com/users/googlemaps/events{/privacy}","received_events_url":"https://api.github.com/users/googlemaps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/googlemaps/google-maps-services-java","description":"Java client library for Google Maps API Web Services","fork":false,"url":"https://api.github.com/repos/googlemaps/google-maps-services-java","forks_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/forks","keys_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/teams","hooks_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/hooks","issue_events_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/events{/number}","events_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/events","assignees_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/assignees{/user}","branches_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/branches{/branch}","tags_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/tags","blobs_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/statuses/{sha}","languages_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/languages","stargazers_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/stargazers","contributors_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/contributors","subscribers_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/subscribers","subscription_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/subscription","commits_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/contents/{+path}","compare_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/merges","archive_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/downloads","issues_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues{/number}","pulls_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls{/number}","milestones_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/milestones{/number}","notifications_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/labels{/name}","releases_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/releases{/id}","deployments_url":"https://api.github.com/repos/googlemaps/google-maps-services-java/deployments","created_at":"2014-08-15T04:35:21Z","updated_at":"2016-03-09T16:43:22Z","pushed_at":"2016-03-10T04:39:57Z","git_url":"git://github.com/googlemaps/google-maps-services-java.git","ssh_url":"git@github.com:googlemaps/google-maps-services-java.git","clone_url":"https://github.com/googlemaps/google-maps-services-java.git","svn_url":"https://github.com/googlemaps/google-maps-services-java","homepage":"","size":1352,"stargazers_count":298,"watchers_count":298,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":229,"mirror_url":null,"open_issues_count":19,"forks":229,"open_issues":19,"watchers":298,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/140"},"html":{"href":"https://github.com/googlemaps/google-maps-services-java/pull/140"},"issue":{"href":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/140"},"comments":{"href":"https://api.github.com/repos/googlemaps/google-maps-services-java/issues/140/comments"},"review_comments":{"href":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/140/comments"},"review_comment":{"href":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/googlemaps/google-maps-services-java/pulls/140/commits"},"statuses":{"href":"https://api.github.com/repos/googlemaps/google-maps-services-java/statuses/cc5f53402b4a5ded9e5f4248253a6e5bd4ebdf9b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":72,"deletions":6,"changed_files":4}}