Skip to content

Quickstart

From the package to your first table in five minutes.

On this page
  1. Install the SDK
  2. Connect your project
  3. Your first table
  4. Through the API

You will install the SDK, connect your project and read the rows of a table.

Install the SDK

  1. Add the package

    npm

    npm install @sypnia/data
  2. Save your token

    Make one in the console, under Settings → Tokens, and keep it as an environment variable.

    You should see

    The console shows the token only once.

Connect your project

TypeScript

import { Data } from '@sypnia/data';

const data = new Data({ token: process.env.SYPNIA_TOKEN });
const orders = await data.table('orders').rows({ limit: 20 });

Your first table

Make the «orders» table from the console or from a CSV.

Through the API

GET /v1/tables/{table}/rows
The rows of a table, 20 at a time.
Authentication
API token (read)

Query parameters

  • limit
    integeroptional
    How many rows, up to 100.

    Default: 20

  • cursor
    stringoptional
    Where to go on from: the one the previous page gave you.
Was this page useful?

Thank you. It helps us write better pages.

Edit this page
  1. Install the SDK
  2. Connect your project
  3. Your first table
  4. Through the API

    Search pages, sections and terms