Heroes Profile icon

Heroes Profile

Get data from Heroes Profile API and normalize it into REST API style JSON

General → Talent List

AI-generated

Overview

The "Heroes Profile" node integrates with the Heroes Profile API to fetch and normalize data related to the game Heroes of the Storm. Specifically, for the General resource and Talent List operation, it retrieves talent information for heroes in the game. This node is useful for workflows that require up-to-date hero talent data, such as building analytics dashboards, creating custom game strategy tools, or automating content updates for fan sites.

For example, a user might select a specific hero to get their available talents in JSON or CSV format, which can then be processed or displayed elsewhere.

Properties

Name Meaning
Hero Select a hero from a predefined list of Heroes of the Storm characters (e.g., Abathur, Jaina, Zeratul). If left empty, it may return data for all heroes or default behavior depending on API.
Mode Select the response format: either JSON or CSV. Determines how the talent data is returned.

Output

  • The node outputs data in the json field.
  • The structure corresponds to the talent list data retrieved from the Heroes Profile API, normalized into a REST API style JSON.
  • If Mode is set to CSV, the output will be in CSV format but still accessible via the json output (likely as a string).
  • No binary data output is indicated.

Dependencies

  • Requires an API key credential for the Heroes Profile API.
  • The base URL used is https://api.heroesprofile.com/api.
  • The node expects the API to respond with JSON or CSV based on the selected mode.
  • Proper configuration of the API key credential in n8n is necessary for authentication.

Troubleshooting

  • Common issues:
    • Invalid or missing API key credential will cause authentication errors.
    • Selecting an unsupported hero name or leaving the hero parameter empty might result in incomplete or no data.
    • Choosing CSV mode without proper downstream handling might cause parsing issues.
  • Error messages:
    • Authentication failures typically indicate invalid credentials; verify API key setup.
    • Network errors suggest connectivity problems or incorrect base URL.
    • Unexpected response format errors may occur if the API changes or returns errors; check API status and parameters.

Links and References

Discussion