A simple script for exporting everything from a FreeAgent account as JSON formatted data. I made this because I wanted something more machine accessible (i.e. nested structures).
- Download script.jsandpackage.json, and place them into a folder together
- Run pnpm install, or similar
- Replace the ACCESS_TOKENwith your access token (see below)
- Run the script (i.e. node script.jsorpnpm start)