Heroes Profile icon

Heroes Profile

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

Player → Build Stats

AI-generated

Overview

The "Build Stats" operation under the "Player" resource in this Heroes Profile node fetches and processes player statistics related to a specific hero from the Heroes Profile API. This node is useful for users who want to analyze detailed gameplay data, performance metrics, or build information for a particular hero in the game. For example, esports analysts, game strategists, or enthusiasts can use it to gather hero-specific stats to improve gameplay strategies or track player progress.

Properties

Name Meaning
Hero Select the hero for which you want to retrieve build stats. Options include all available heroes such as Abathur, Jaina, Zeratul, etc.
Battletag The player's battletag identifier used to specify which player's stats to retrieve.
Region The region where the player is located or plays, options are North America, Europe, Korea, and China.
Earliest Date Optional date filter to specify the earliest date from which to search for build stats.

Output

The node outputs JSON data containing normalized player statistics related to the selected hero. This data typically includes detailed build information, performance metrics, and possibly aggregated statistics over time. The output structure follows a REST API style JSON format, making it easy to consume in subsequent workflow steps.

If binary data were involved (not indicated here), it would represent raw files or media related to the player stats, but this node focuses on JSON data.

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:
    • Invalid or missing API key credential will cause authentication failures.
    • Incorrect battletag or region values may result in no data returned or errors.
    • Date formatting issues if the "Earliest Date" property is not correctly set.
  • Error Messages:
    • Authentication errors indicate problems with the API key; verify and re-enter credentials.
    • "No data found" or empty responses may mean the player has no stats for the selected hero or region.
    • Date parsing errors suggest incorrect date input format; ensure the date is properly selected.

Links and References

Discussion