marleyspoon
v2.0.0
Published
Fetch nutrition info from Marley Spoon.
Readme
Marley Spoon API JavaScript client
Fetch nutrition information of recipes from Marley Spoon.
Usage
- Log into your Marley Spoon account and open the developer console in your browser
- Fetch the
remember_spree_user_tokencookie value - Replace
process.env.remember_spree_user_tokenwith the value of the cookie in the usage reference
Running tests
- Log into your Marley Spoon account and open the developer console in your browser
- Fetch the
remember_spree_user_tokencookie value - Navigate into the
testsubdirectory - Create a
.envfile with the following content:remember_spree_user_token="<your_cookie_value>" - Run
nvm i && nvm use && npm i - Run
npm run test
