Heroes Profile icon

Heroes Profile

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

NexusGaming → Stats Leaderboard (Average)

AI-generated

Overview

The "Stats Leaderboard (Average)" operation for the NexusGaming resource retrieves average statistical leaderboard data for Heroes of the Storm players. It allows users to query and obtain ranked player statistics based on various performance metrics, optionally filtered by a specific season. This node is useful for analyzing player performance trends, comparing players across different stats, or integrating competitive gaming data into dashboards or reports.

Practical examples include:

  • Fetching the average number of kills per game for top players in a given season.
  • Comparing healing averages among players to identify top support performers.
  • Tracking damage-related stats over time to evaluate player impact.

Properties

Name Meaning
Season Optional. Enter a season number to filter leaderboard stats for that particular season.
Stat Required. Select the metric to rank players by. Options include:
- Kills
- Assists
- Takedowns
- Deaths
- Highest Kill Streak
- Hero Damage
- Siege Damage
- Structure Damage
- Minions Damage
- Creep Damage
- Summon Damage
- Healing
- Self Healing
- Damage Taken
- Experience Contribution
- Town Kills
- Time Spent Dead
- Merc Camp Captures
- Watch Tower Captures
- Meta Experience
- Damage Protected (Protection Allies)
- Enemies Silenced
- Enemies Rooted
- Enemies Stunned
- Clutch Heals
- Escapes
- Vengeance Kills
- Outnumbered Deaths
- Team Fight Escapes
- Team Fight Healing
- Team Fight Damage Taken
- Team Fight Hero Damage
- Multi Kills
- Physical Damage
- Spell Damage
- Regen Globes

Output

The node outputs JSON data representing the leaderboard with average statistics for players based on the selected metric and optional season filter. The structure typically includes player identifiers, their average stat values, ranks, and possibly additional metadata about the leaderboard context.

If binary data output is supported, it would represent downloadable content such as images or files related to the leaderboard, but this is not indicated in the provided code or properties.

Dependencies

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

Troubleshooting

  • Common issues:

    • Missing or invalid API credentials will cause authentication failures.
    • Providing an invalid season number or unsupported stat value may result in empty or error responses.
    • Network connectivity problems can prevent successful API calls.
  • Error messages:

    • Authentication errors typically indicate missing or incorrect API keys; verify and update credentials.
    • Validation errors may occur if required parameters like "Stat" are not set; ensure all mandatory inputs are provided.
    • API rate limits might cause temporary request rejections; consider implementing retry logic or checking API usage quotas.

Links and References

Discussion