Metadata-Version: 2.4
Name: ytapis
Version: 2.0.0
Summary: Search YouTube and get video metadata — no API key required
Author: geethudinoyt
License: MIT
Project-URL: Homepage, https://github.com/pgboyahpgr-commits/ytapis
Project-URL: Repository, https://github.com/pgboyahpgr-commits/ytapis
Keywords: youtube,search,scraper,metadata
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# ytapis &mdash; Python

Search YouTube and get video metadata &mdash; **no API key required**.

Part of the [ytapis](https://github.com/pgboyahpgr-commits/ytapis) monorepo. Built and managed by [geethudinoyt](https://github.com/geethudinoyt).

## Install

```bash
pip install ytapis
```

## Usage

```python
from ytapis import search

results = search("cats", limit=5)
for v in results:
    print(v["title"], "-", v["author"])
```

### CLI

```bash
ytapis search cats --limit 5
```

## API

### `search(query, limit=15)`

Returns `list[dict]` with keys: `id`, `title`, `author`, `thumbnail`, `fullUrl`, `embedUrl`.

## License

MIT
