Getting Started
The Linear Typescript SDK exposes the Linear GraphQL schema through strongly typed models and operations. It's written in Typescript but can also be used in any Javascript environment.
All operations return models, which can be used to perform operations for other models and all types are accessible through the Linear SDK package.
You can view the Linear SDK source code on GitHub.
Connect to the Linear API and interact with your data in a few steps:
1. Install the Linear Client
Using npm:
Or yarn:
2. Create a Linear client
SDK supports both authentication methods, personal API keys and OAuth 2. See authentication for more details.
You can create a client after creating authentication keys:
3. Query for your issues
Using async await syntax:
Or promises:
Last updated