Actions28
- Task Actions
- Chat Message Actions
- User Actions
- Quest Actions
- Group Actions
- Content Actions
- Inbox Actions
- Skill (Spell) Actions
- Cron Actions
Overview
This node operation fetches various content objects from the Habitica API in a specified language. It allows users to retrieve either all keys of the content or select specific keys to return. This is useful for scenarios where users want to access detailed game content data such as achievements, quests, items, pets, mounts, and other game-related information in their preferred language.
Use Case Examples
- A game developer or data analyst wants to retrieve all available content keys in English to analyze game data.
- A user wants to fetch only specific content keys like 'quests' and 'pets' in Spanish to display localized game content in an application.
Properties
| Name | Meaning |
|---|---|
| Language | The language to return the content in, allowing localization of the content data. |
| Return All Keys | Whether to return all keys of the content object or only selected keys. |
| Keys | The specific keys of the content object to return when not returning all keys. These keys represent different content categories such as achievements, quests, pets, mounts, and more. |
Output
JSON
content- The content object containing the requested keys and their data
Dependencies
- Habitica API with an API key credential
Troubleshooting
- If the API request fails, check the API key credential and network connectivity.
- Ensure the selected language is supported by the Habitica API to avoid errors.
- When selecting specific keys, ensure they are valid keys to prevent empty or incomplete responses.
Links
- Habitica Content API Documentation - Official documentation for the Habitica content API endpoints