Skip to main content

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.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

linear_python-0.2.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file linear_python-0.2.0.tar.gz.

File metadata

  • Download URL: linear_python-0.2.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.7

File hashes

Hashes for linear_python-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d6cac06998744f9892102d23ba1e1c8ed9af79d9a19a7fb2f576eb81a7327c74
MD5 c9b682010fdd0ebc165ce91d33a605d0
BLAKE2b-256 4839e20c7279ba8bda7b1a2884b3925d150326f655c309b3a61b9c15a2159f5f

See more details on using hashes here.

File details

Details for the file linear_python-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: linear_python-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.7

File hashes

Hashes for linear_python-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 01e95f8c3dfa553e5fb234192f1fcb20a9c7917fec3846f92af1993ba100bf52
MD5 6c79076334c84e218b9abd2465279a7d
BLAKE2b-256 d85dc90bf0c54bae9f1f439dfb035b00db0d1a5c0979e2781d3bb1b6ba9f555b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page