Heroes Profile icon

Heroes Profile

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

Hero → Match-up Stats

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, the "Hero" resource with the "Match-up Stats" operation retrieves detailed statistics about how a selected hero performs against other heroes in various matchups.

This node is beneficial for players, analysts, or content creators who want to analyze hero performance data, understand strengths and weaknesses in different game modes, or track changes across game patches. For example, a user could select a hero like "Jaina" and retrieve matchup statistics filtered by game type and patch version to inform gameplay strategies or create statistical reports.

Properties

Name Meaning
Hero Select the hero for which to retrieve matchup stats. Options include all standard Heroes of the Storm characters (e.g., Abathur, Jaina, Zeratul).
Mode Choose the response format: either JSON or CSV.
Game Type Select the game mode context for the stats. Options: Quick Match, Unranked Draft, Hero League, Team League, Storm League, ARAM.
Timeframe Type Specify the patch type to filter data by: Major or Minor patch.
Timeframe Enter the specific patch number to filter the stats. Users can obtain valid patch numbers via the "Get patch metadata" operation.

Output

The node outputs JSON or CSV data containing normalized matchup statistics for the selected hero. The JSON output typically includes structured fields representing win rates, pick rates, and other relevant metrics against opposing heroes, segmented by the chosen game type and patch timeframe.

If CSV mode is selected, the output is a CSV-formatted string representing the same data.

No binary data output is involved.

Dependencies

  • Requires an active connection to the Heroes Profile API.
  • An API key credential must be configured within n8n to authenticate requests to the Heroes Profile service.
  • Network access to https://api.heroesprofile.com/api is necessary.

Troubleshooting

  • Common Issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Providing an invalid or unsupported hero name or patch number may result in empty or error responses.
    • Network connectivity issues can prevent successful API calls.
  • Error Messages:

    • Authentication errors typically indicate misconfigured or expired API keys; verify and update credentials.
    • "Invalid parameter" errors suggest incorrect property values; ensure hero names, game types, and patch numbers are valid.
    • Timeout or network errors require checking internet connectivity and firewall settings.

Links and References

Discussion