Skip to content

Repository files navigation

grist-js

A Typescript client for interacting with the Grist API, generated from the OpenAPI specification.

Motivation

A basic client already exists here (https://github.com/gristlabs/grist-api), but it's missing a bunch of methods that I needed, so I generated one from an OpenAPI schema I grabbed from here instead.

Installation

You can install this package using npm, yarn, or bun:

bun add grist-js

Usage

import { createClient } from 'grist-js';

const client = createClient({
	BASE: 'https://mygristdeployment.com',
	TOKEN: 'myapitoken'
})

const tables = await client.listTables({ docId: 'my-doc-id' })

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages