# @zatsu/androidmanagement

> A CLI tool for Android Management API v1

Latest version **0.2.0** (published 2022-04-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @zatsu/androidmanagement
pnpm add @zatsu/androidmanagement
yarn add @zatsu/androidmanagement
bun add @zatsu/androidmanagement
```

Provides the command `androidmanagement`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2022-04-22 |
| First published | 2022-02-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 7.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | YusukeIwaki |
| Maintainers | yusukeiwaki |

## Links

- npm: https://www.npmjs.com/package/@zatsu/androidmanagement
- Repository: https://github.com/YusukeIwaki/zatsu-androidmanagement
- Homepage: https://github.com/YusukeIwaki/zatsu-androidmanagement#readme
- Issues: https://github.com/YusukeIwaki/zatsu-androidmanagement/issues
- npm.io page: https://npm.io/package/@zatsu/androidmanagement

## Dependencies (2)

- [@zatsu/core](https://npm.io/package/@zatsu/core.md) ^0.2.0
- [google-auth-library](https://npm.io/package/google-auth-library.md) ^7.12.0

## Recent versions

- 0.2.0 (latest) — 2022-04-22
- 0.1.0 — 2022-02-17

## README

# @zatsu/androidmanagement

**DEPRECATED** The Dart version of AndroidManagement API v1 client is a good alternative to this app.
https://github.com/YusukeIwaki/rakuda-androidamanagement-api

---

## Install

```
npm install -g @zatsu/androidmanagement
```

or `npx @zatsu/androidmanagement` for instant usage

## 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"
}
```

---
_Source: https://npm.io/package/@zatsu/androidmanagement · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
