expensify-api v1.0.1
expensify-api
API access to Expensify, whether through their "Integration Server" or via puppeteer when the official API doesn't expose a way to do certain actions.
What about the "expensify" npm package?
The expensify package utilizes parts of the expensify API that don't seem to be available anymore. In particular, it's unclear how to obtain an AES key and "AES IV" for expensify, or how to set a "user secret" to obtain an SSO. It's likely that the library is using an older API, as it hasn't been updated in 3+ years at the time of writing.
Static Typechecking & Transpiling
This project uses typescript.
Files in dist/ are generated with files from src/. Each .ts file in src/ is split into two files in dist:
- non-typed, node-executable
.jsfile - typescript type declaration
.d.tsfile
To transpile from src/ to dist/, use:
$ yarn run buildTo typecheck only, use:
$ yarn run typecheckTo execute a js file without explicitly compiling, use ts-node:
$ yarn run ts-node src/some-file.jsTesting
There are no actual unit or integration tests. You can check whether the library
can make basic calls by using yarn test. This will invoke non-destructive
commands on the library.
It's not meant to be exhaustive, or even a "real test".
7 years ago