Qore LinearRestClient Module Reference 1.0
Loading...
Searching...
No Matches

LinearRestClient Introduction

The LinearRestClient module provides an API for calling Linear's GraphQL API services.

To use this module, use "%requires LinearRestClient" in your code.

All the public symbols in the module are defined in the LinearRestClient namespace.

The main classes are:

Example:
//!/usr/bin/env qore
%new-style
%strict-args
%require-types
%enable-all-warnings
%requires LinearRestClient
LinearRestClient linear({"token": ENV.LINEAR_TOKEN});
hash<auto> result = linear.graphql("query { viewer { id name email } }");
printf("User: %s <%s>\n", result.body.data.viewer.name, result.body.data.viewer.email);

Release Notes

LinearRestClient v1.0

  • the initial version of the LinearRestClient module