Stein Docs

Stein Docs

  • Docs
  • GitHub

›Getting Started

Getting Started

  • Introduction & Core Concepts
  • Create an API
  • Read Data from Sheet
  • Search for Data
  • Add Rows to Sheet
  • Update Rows
  • Delete Rows
  • Authentication
  • Using Client Libraries

Hosting

  • Introduction
  • Manual Installation & Setup

Stein Expedite

  • Introduction
  • Installation
  • Display Data from Sheet
  • Search for Data
  • Connect HTML Forms to Sheet

Using Client Libraries

The Stein Suite includes client libraries to interact with the core API.

The basic steps to use a library in your project are common to all languages. (Currently, only a JavaScript client is available officially. More to come soon!)

Official Libraries

  • JavaScript (Universal): https://github.com/SteinHQ/JS-Client

Install the library

HTML
Node.js
<script src="https://unpkg.com/stein-js-client"></script>
$ npm install stein-js-client

Create a store

A store is a reference to a spreadsheet API.

Each store is initialised by providing the API URL. The URL should not have the name of the sheet appended.

HTML
Node.js
<script>
const store = new SteinStore(
"https://api.steinhq.com/v1/storages/5cca0542e52a3545102c1665"
);
</script>
const SteinStore = require("stein-js-client");
const store = new SteinStore(
"https://api.steinhq.com/v1/storages/5cca0542e52a3545102c1665"
);

That's it. You can now interact with the API using the methods on the store. Find the implementations in the respective API documentation sections.

← AuthenticationIntroduction →
  • Install the library
  • Create a store
Stein Logo
DocumentationOpen SourcePricingPartners

Privacy PolicyTerms of Service
© 2021 Stein