Skip to content

blankstorm/api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

30793df · Jan 2, 2025
Oct 5, 2024
Sep 29, 2024
Jan 2, 2025
Feb 10, 2024
Oct 6, 2024
Oct 6, 2024
Sep 3, 2023
Feb 2, 2024
Sep 3, 2023
Feb 12, 2024
Jul 15, 2024
Jan 2, 2025
Feb 2, 2024
Feb 2, 2024
Oct 6, 2024
Jul 15, 2024

Repository files navigation

Blankstorm API

This is the code for Blankstorm's REST API.

@blankstorm/api

This is the client-side library. It provides typings and convience functions.

Usage

Make sure you have installed the library:

npm install @blankstorm/api

If you make any changes (e.g. changing an account's username or logging an account out), you will need to authenticate.

import { auth, getAccount, logout } from '@blankstorm/api';

const authToken = 'your login token';

auth(authToken);

const { id } = await getAccount('token', authToken);

await logout(id);