added
Introducing the Akahu SDK for Javascript
over 3 years ago by Oliver Fawcett
Today we are introducing our JS SDK, which makes interacting with the Akahu API simple and straightforward.
Suitable for either node.js or frontend applications, the SDK features complete TypeScipt bindings allowing you to see exactly what format the response payloads will be.
Getting started is as easy as npm install akahu
, then:
import { AkahuClient } from "akahu";
const akahu = new AkahuClient({
appToken: AKAHU_APP_TOKEN
});
const accounts = await akahu.accounts.list(AKAHU_USER_TOKEN);
console.log("Look at all these accounts!", accounts);
Give it a go and see what you think!