freeagent
v1.1.1
Published
Simple command line interface for FreeAgent
Downloads
1
Readme
freeagent
Simple command line interface for FreeAgent.
usage
freeagent <API path>
e.g. freeagent /accounting/profit_and_loss/summary
See available API paths here: https://dev.freeagent.com/docs
Hint: pipe results to jq .
to get nicely formatted JSON
install
npm install -g freeagent
first time setup
- register an app on https://dev.freeagent.com/apps
- create a
~/.freeagent.json
file:
{
"clientId": "OAuth identifier here",
"clientSecret": "OAuth secret here"
}