Heroes Profile icon

Heroes Profile

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

NexusGaming → Hero Stats

AI-generated

Overview

The "Hero Stats" operation of the NexusGaming resource fetches detailed statistics for a specific hero from the Heroes Profile API. This node is useful for users who want to analyze or display performance metrics, match history, or other statistical data related to individual heroes in the game. Practical applications include building dashboards for player performance, creating analytics reports, or integrating hero stats into gaming community websites.

Properties

Name Meaning
Hero Select a hero from a predefined list of heroes (e.g., Abathur, Jaina, Zeratul).
Season Enter a season number (integer) to specify which competitive season's data to retrieve.
Division Select a division such as Storm, Heroic, Nexus, Div A/B/C/D/E with regional subdivisions (East/West).
Battletag (Optional) Enter a player's battletag to filter stats by player.
Region (Optional) Select a region: North America, Europe, Korea, or China.

Output

The node outputs JSON data containing normalized hero statistics retrieved from the Heroes Profile API. The structure typically includes fields such as hero performance metrics, match counts, win rates, and possibly player-specific stats if a battletag is provided. The output is designed to be REST API style JSON, making it easy to consume in downstream workflows.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential for the Heroes Profile API.
  • The node makes HTTP requests to https://api.heroesprofile.com/api.
  • Proper configuration of the API key credential within n8n is necessary for authentication.

Troubleshooting

  • Common issues:

    • Missing or invalid API key will cause authentication errors.
    • Providing an invalid hero name or unsupported season/division may result in empty or error responses.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Authentication failures usually indicate incorrect or missing API credentials.
    • Validation errors may occur if required parameters like Hero or Season are not set.
    • API rate limiting or downtime could cause request failures; retry after some time.

Links and References

Discussion