Metadata-Version: 2.1
Name: linear-python
Version: 0.2.0
Summary: A Python client for the Linear API
Home-page: https://github.com/jpbullalayao/linear-python
Author: Jourdan Bul-lalayao
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.31.0
Requires-Dist: python-dotenv>=1.0.0

# Linear Python

A Python client for the [Linear](https://linear.app/) API.

## Installation

```bash
pip install linear-python
```

## Usage

### Configuration

Retrieve your personal Linear API Key, and then initialize the python Linear client:

```python
from linear_python import LinearClient
client = LinearClient("<Linear API Key Here>")
```

You're now ready to use linear-python! Below are a few sample functions you can call.

#### Get Current User (Viewer)

```python
viewer = client.get_viewer()
```

#### Create an Issue

```python
issue_data = {
    "teamId": "your-team-id",
    "title": "New bug report",
    "description": "Description of the issue"
}
new_issue = client.create_issue(issue_data)
```

## Resources

- [Linear Docs](https://developers.linear.app/docs)

## License

MIT License
