4.0.1 • Published 3 years ago

re-actual v4.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

ReScript bindings for Actual API

npm version npm.io

This package contains ReScrip bindings for the excellent Node API of Actual, @actual-app/api.

API documentation is best found in the official documentation. Some adjustments have been made to better suit the Reason ecosystem.

Get started

npm install re-actual

Add re-actual in bsconfig.json

{
  "dependencies": ["re-actual"]
}

Example

Here's a full example usage of getting accounts

open Actual;
open Js.Promise;

let api = Api.make;

let run = () => {
    api->Accounts.get
    |> then_(accounts => {
         Js.log(accounts);

         resolve();
       })
};

api->Run.withBudget("YOUR-BUDGET-ID", run);
4.0.1

3 years ago

4.0.0

3 years ago

3.0.0

4 years ago

2.0.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago