# GitHub User (`github.user`)

Public profile of a GitHub user or organization (no e-mail addresses).

- **Route:** `POST /v1/run/github.user`
- **Price:** $0.0012 per request ($1.20 per 1,000) · `cost_usd` on every response
- **Source:** GitHub REST API (`github`) · failover: no
- **Measured latency:** not enough calls measured yet
- **Heavy response:** no

## Input

| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
| `username` | string | yes |  |  |

## Output (`output` in the run envelope)

| Field | Meaning |
|---|---|
| `followers` | Followers. |
| `public_repos` | Public repos. |
| `bio` | Bio. |

## Example

```bash
curl -s -X POST https://getallapis.com/v1/run/github.user \
  -H "Authorization: Bearer $GETALLAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username":"torvalds"}'
```

```python
from getallapis_client import Client
client = Client()  # reads GETALLAPIS_API_KEY
result = client.run('github.user', {'username': 'torvalds'})
print(result['cost_usd'], result['output'])
```

```bash
getallapis run github.user '{"username":"torvalds"}'
```

Quote first (free, validates input): `POST /v1/quote/github.user` with the same body.
