import { FlexlistsClient, FileImpl } from "flexlists-api";
const client = new FlexlistsClient(
"https://my.flexlists.domain.com",
"Maybe a key"
);
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");
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();
const views = await client.getViews();
const fields = await client.getFields(pageRequestListId);
const contents = await client.search(projectListId);
await client.create(listId, {content})
- Clone this repository
- Run:
yarn
- Run:
yarn build