#linear #sdk #api #api-bindings

linear_sdk

A Linear SDK for interacting with the Linear GraphQL API

1 unstable release

0.0.1 Oct 29, 2022

#127 in #linear

MIT license

71KB
298 lines

linear_sdk

A Linear SDK for Rust.

Development

Update GraphQL Schema

graphql-client introspect-schema https://api.linear.app/graphql --output schema.json

Run GraphQL Codegen

graphql-client generate --schema-path=schema.json --custom-scalars-module='crate::graphql::custom_scalars' --response-derives='Debug' --output-directory src/graphql/generated/ src/graphql/issue.graphql

Dependencies

~5–22MB
~381K SLoC