Metadata-Version: 2.4
Name: apiwatch-monitor
Version: 0.1.0
Summary: CLI tool for monitoring API endpoint uptime — pings endpoints concurrently, sends Telegram alerts on down/recovery, and generates SLA reports with trend detection
Author-email: Rizal <rizalical231@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/rizalcodes/apiwatch
Project-URL: Repository, https://github.com/rizalcodes/apiwatch
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Topic :: System :: Monitoring
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE_apiwatch
Requires-Dist: typer
Requires-Dist: requests
Requires-Dist: python-dotenv
Requires-Dist: rich
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Dynamic: license-file

# apiwatch

CLI tool + Telegram bot for monitoring API endpoint uptime and latency.

## Install

```bash
pip install -e .[dev]
cp .env.example .env   # then fill in TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID
```

## Usage

```bash
python -m apiwatch add --url "https://api.example.com/health" --interval 5m
python -m apiwatch list
python -m apiwatch remove --url "https://api.example.com/health"
python -m apiwatch start
python -m apiwatch report --last 7d
```
