A Python client for the Linear API
Project description
Linear Python
A Python client for the Linear API.
Installation
pip install linear-python
Usage
Configuration
Retrieve your personal Linear API Key, and then initialize the python Linear client:
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)
viewer = client.get_viewer()
Create an Issue
issue_data = {
"teamId": "your-team-id",
"title": "New bug report",
"description": "Description of the issue"
}
new_issue = client.create_issue(issue_data)
Resources
License
MIT License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
linear_python-0.2.1.tar.gz
(8.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file linear_python-0.2.1.tar.gz.
File metadata
- Download URL: linear_python-0.2.1.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6cf5a72cd3ffd93d572f4fb65ee8287040542469c2fe96ee4a762c5d647a3f2
|
|
| MD5 |
7a89dea045f55835b43b77fe766c9b8e
|
|
| BLAKE2b-256 |
c063948d497d8247e00e9781628c6e3970ed9f1be2bff168ecbd30dca871ee53
|
File details
Details for the file linear_python-0.2.1-py3-none-any.whl.
File metadata
- Download URL: linear_python-0.2.1-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64f84af064a966cb768b439e2325142778b64beca45e67c2e9423df76589f6b1
|
|
| MD5 |
1fbf40c43d3b40810c3567c14f27b3fc
|
|
| BLAKE2b-256 |
f5a365cdf61a8ee31fd51f59fdf993b9220981050daf3ddaa37602ced477c7f5
|