Metadata-Version: 2.4
Name: android-api
Version: 0.1.0
Summary: CLI tool to lookup Android API levels and version mappings
License: MIT
License-File: LICENSE
Requires-Python: >=3.9
Requires-Dist: platformdirs>=3.0.0
Requires-Dist: requests>=2.28.0
Requires-Dist: typer[all]>=0.9.0
Provides-Extra: dev
Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
Requires-Dist: pytest>=7.0.0; extra == 'dev'
Requires-Dist: ruff>=0.1.0; extra == 'dev'
Description-Content-Type: text/markdown

# android-api

A CLI tool to lookup Android API levels and version mappings.

## Installation

```bash
pip install android-api
```

## Usage

### List all Android versions

```bash
android-api list
```

Output:
```
┏━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━┓
┃ API Level  ┃ Version  ┃ Codename             ┃ Release Date ┃ Status     ┃
┡━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━┩
│ 35         │ 15       │ Vanilla Ice Cream    │ 2024-10      │ active     │
│ 34         │ 14       │ Upside Down Cake     │ 2023-10      │ active     │
│ 33         │ 13       │ Tiramisu             │ 2022-08      │ active     │
│ ...        │ ...      │ ...                  │ ...          │ ...        │
└────────────┴──────────┴──────────────────────┴──────────────┴────────────┘
```

### Search for a specific version

```bash
# By API level
android-api search 34

# By codename
android-api search Tiramisu

# By version (fuzzy match)
android-api search 14
```

### JSON output

```bash
android-api list --json
android-api search 34 --json
```

### Update data

```bash
android-api update
```

## Options

- `--version, -v`: Show version
- `--help`: Show help message

## Development

```bash
# Install development dependencies
pip install -e ".[dev]"

# Run tests
pytest

# Run linter
ruff check src tests
```

## License

MIT
