{"action":"closed","issue":{"url":"https://api.github.com/repos/Triple-T/gradle-play-publisher/issues/44","labels_url":"https://api.github.com/repos/Triple-T/gradle-play-publisher/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/Triple-T/gradle-play-publisher/issues/44/comments","events_url":"https://api.github.com/repos/Triple-T/gradle-play-publisher/issues/44/events","html_url":"https://github.com/Triple-T/gradle-play-publisher/issues/44","id":59760182,"number":44,"title":"Add support for updating app's details","user":{"login":"AlexTrotsenko","id":4673265,"avatar_url":"https://avatars.githubusercontent.com/u/4673265?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexTrotsenko","html_url":"https://github.com/AlexTrotsenko","followers_url":"https://api.github.com/users/AlexTrotsenko/followers","following_url":"https://api.github.com/users/AlexTrotsenko/following{/other_user}","gists_url":"https://api.github.com/users/AlexTrotsenko/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexTrotsenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexTrotsenko/subscriptions","organizations_url":"https://api.github.com/users/AlexTrotsenko/orgs","repos_url":"https://api.github.com/users/AlexTrotsenko/repos","events_url":"https://api.github.com/users/AlexTrotsenko/events{/privacy}","received_events_url":"https://api.github.com/users/AlexTrotsenko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-04T07:28:01Z","updated_at":"2015-07-11T15:02:25Z","closed_at":"2015-07-11T15:02:25Z","body":"Google Publishing API provides ability to set:\r\n- Default language of the app\r\n- Contact Phone\r\n- Contact mail\r\n- Contact website\r\n\r\nNecessity of setting the language from script is obvious. Meanwhile phone, main and website are required information in Google Play Dev Console and could speed up 1st publishing of the app.\r\n\r\nHere is example of passing this data to Google API:\r\n\r\n````.Java\r\n            final AppDetails newDetails = new AppDetails();\r\n            newDetails.setContactEmail(\"someone@domain.com\")\r\n            \t\t.setContactPhone(\"+49777777777\")\r\n            \t\t.setContactWebsite(\"http://somesite.com\")\r\n            \t\t.setDefaultLanguage(Locale.GERMANY.toString());\r\n\r\n            Update updateAppsDetailsRequest = edits\r\n                    .details()\r\n                    .update(ApplicationConfig.PACKAGE_NAME,\r\n                            editId,\r\n                            newDetails);\r\n            AppDetails updatedAppsDetails = updateAppsDetailsRequest.execute();\r\n\r\n````"}}