0.9.36 • Published 9 months ago

flexlists-api v0.9.36

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

Flexlists Client API library for TypeScript

Usage

import the client ;

import { FlexlistsClient, FileImpl } from "flexlists-api";

create the client

const client = new FlexlistsClient(
    "https://my.flexlists.domain.com",
    "Maybe a key"
);

if you do not have a key, you can login

Note: this only works if 2fa is off which is not recommended, so this is only used for testing:

const loginResponse = await client.loginByUser("myuser", "mypass");

get a bearer token for this user

Note: this only works if 2fa is off which is not recommended, so this is only used for testing. Get the same token securily via the website (in your profile).

const loginResponse = await client.getAPIBearerToken();

get the views for a user

const views = await client.getViews();

get the fields for a view:

const fields = await client.getFields(pageRequestListId);

search a list / get content

const contents = await client.search(projectListId);

create an item

await client.create(listId, {content})

Building

  • Clone this repository
  • Run:
yarn
  • Run:
yarn build
0.9.36

9 months ago

0.9.30

9 months ago

0.9.31

9 months ago

0.9.29

9 months ago

0.9.26

2 years ago

0.9.24

2 years ago

0.9.25

2 years ago

0.9.16

2 years ago

0.9.17

2 years ago

0.9.18

2 years ago

0.9.19

2 years ago

0.9.23

2 years ago

0.9.20

2 years ago

0.9.21

2 years ago

0.9.22

2 years ago

0.9.15

2 years ago

0.9.12

2 years ago

0.9.13

2 years ago

0.9.14

2 years ago

0.9.11

2 years ago

0.9.10

2 years ago

0.9.9

2 years ago

0.9.8

2 years ago

0.9.7

2 years ago

0.9.6

2 years ago

0.9.5

2 years ago

0.9.4

2 years ago

0.9.3

2 years ago

0.9.2

2 years ago

0.9.1

2 years ago