The CLI app for Habitica's Zapier integration.
- Zapier - the wiki's page about the production and beta Zapier integrations. If you're contributing to this repo, please see the Beta Development Version section at the bottom of the page.
- Aspiring Zapier Comrades - a guild for questions and discussions about devloping and testing the integration.
NB the current production version of the Zapier integration does not use code in this repo. It was built using Zapier's Legacy Web Builder.
Zapier does not use the most recent versions of node and npm. If you have node and npm installed for other projects, use nvm to switch between node versions. To find the required versions of node and npm, refer to Zapier's official documentation (although some of it is out of date) or look in the engines
section of this repo's package.json file.
The tests in this repo connect to a Habitica account so that they can create tasks. To enable the connection, you need to declare environment variables called USER_ID and API_KEY to store your account's User ID and API Token respectively. If you don't want to use your normal Habitica account, you're welcome to create one or more test accounts. To run tests:
- Check that the correct version of node and nom is in use, especially if you use nvm.
export USER_ID=12345678-90ab-416b-cdef-1234567890ab
# this assumes you're using bashexport API_KEY=87654321-90ab-416b-cdef-ba0987654321
# this assumes you're using bashzapier test