Metadata-Version: 2.3
Name: grad-lookup-client
Version: 2.0.1
Summary: Pydantic-based Python client for the Graduate Lookup API
Author: Graduate College
Author-email: Graduate College <grad@illinois.edu>
Requires-Dist: httpx>=0.28.0,<0.29.0
Requires-Dist: pydantic>=2.10.2,<3.0.0
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# Graduate Lookup API Client

Generated Pydantic-based Python client for the Graduate College's internal
Graduate Lookup API.

## Installation

```bash
pip install grad-lookup-client
```

## Usage

Protected endpoints require a service bearer token:

```python
from grad_lookup_client import APIConfig, FacultySearchRequest
from grad_lookup_client.services.Faculty_service import search_faculty

config = APIConfig(
    base_path="https://grad-lookup.example.edu",
    access_token="service-api-key",
)
response = search_faculty(
    config,
    data=FacultySearchRequest(query="Lovelace", limit=20),
)
```

The generated models inherit from `pydantic.BaseModel`. Async endpoint
functions are also exported, prefixed with `async_`.
