Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 728 Bytes

README.md

File metadata and controls

39 lines (30 loc) · 728 Bytes

AndroidManagement v1 client based on rakuda.

Usage

Configuration

$ androidmanagement configure ~/path/to/service_account_keyfile.json

Execute GET request

$ androidmanagement GET /enterprises?project_id={projectId}

{
  "enterprises": [
    {
      "name": "enterprises/LC01??????c",
      "enterpriseDisplayName": "YusukeIwaki"
    },
    {
      "name": "enterprises/LC02??????9",
      "enterpriseDisplayName": "test_enterprise"
    }
  ]
}

Execute POST request

$ echo "{ enterpriseDisplayName: 'YusukeIwaki' }" | androidmanagement POST /enterprises projectId={projectId} agreementAccepted=true

{
  "name": "enterprises/LC01??????c",
  "enterpriseDisplayName": "YusukeIwaki"
}