UNPKG

@olavarriaga/n8n-nodes-myfitnesspal

Version:
79 lines (53 loc) 2.24 kB
# n8n-nodes-myfitnesspal This is a community node for n8n that integrates with MyFitnessPal's API, allowing you to automate your health and fitness tracking workflows. [n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform. [Installation](#installation) [Operations](#operations) [Credentials](#credentials) [Compatibility](#compatibility) [Resources](#resources) ## Installation Follow these steps to install the node: 1. Open your n8n instance 2. Go to **Settings > Community Nodes** 3. Select **Install** 4. Enter `@olavarriaga/n8n-nodes-myfitnesspal` in **Enter npm package name** 5. Click **Install** **Alternatively**, you can install it with npm: ```bash npm install @olavarriaga/n8n-nodes-myfitnesspal ``` ## Operations ### Food Operations - **Search Foods**: Search for food items in the database - **Get Food Item**: Get detailed information about a specific food item - **Add Food to Diary**: Add a food item to your diary ### Diary Operations - **Get Diary**: Retrieve diary entries for a specific date - **Add Food to Diary**: Log food items to your diary with meal type and serving size ### Exercise Operations - **Get Exercise**: View exercise entries for a specific date - **Add Exercise**: Log new exercise activities with duration and calories burned ### User Operations - **Get User Profile**: Retrieve user profile information ## Credentials To use this node, you need to set up MyFitnessPal API credentials: 1. Client ID 2. Client Secret 3. Access Token You can obtain these credentials from the [MyFitnessPal API portal](https://myfitnesspalapi.com/docs/). ## Compatibility - n8n: >= 1.0.0 - MyFitnessPal API: v2 ## Resources * [n8n community nodes documentation](https://docs.n8n.io/integrations/community-nodes/) * [MyFitnessPal API documentation](https://myfitnesspalapi.com/docs/) ## Version History ### 1.0.0 - Initial release - Support for food, diary, exercise, and user profile operations - Full MyFitnessPal API v2 integration ## License [MIT](LICENSE.md) ## Author Manuel Olavarriaga ([@olavarriaga](https://github.com/olavarriaga))