Heroes Profile icon

Heroes Profile

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

NexusGaming → Matches

AI-generated

Overview

The node "Heroes Profile" is designed to fetch and normalize data from the Heroes Profile API, which provides detailed statistics and information related to the game Heroes of the Storm. It transforms the API responses into a REST API style JSON format that can be easily consumed in workflows.

A common use case for this node is to retrieve match data or player statistics for specific seasons, divisions, teams, or rounds within the Nexus Gaming Scene (NGS). For example, users can automate the retrieval of match results for a particular division and season to analyze team performance over time.

Properties

Name Meaning
Season Enter a season number (integer, minimum 0). Specifies the season for which data is fetched.
Division Select a division from options such as Storm, Heroic, Nexus, Div A, Div B, Div C, Div D, Div E, including East/West variants. Defines the competitive division scope.
Team Enter an NGS team name (string). Filters data for a specific team.
Round Enter a round number (integer, minimum 0). Specifies the round within the season/division.

These properties are used as query parameters when making requests to the API, allowing precise filtering of the requested data.

Output

The node outputs JSON data normalized into a REST API style structure. The exact structure depends on the operation but generally includes detailed match or player statistics relevant to the specified season, division, team, and round.

If binary data were involved (e.g., images or files), it would be summarized here, but based on the provided code and properties, the output is purely JSON.

Dependencies

  • Requires access to the Heroes Profile API endpoint at https://api.heroesprofile.com/api.
  • Requires an API key credential for authentication with the Heroes Profile API.
  • No additional external dependencies are indicated.

Troubleshooting

  • Missing or invalid API credentials: Ensure that the API key credential is correctly configured in n8n.
  • Invalid property values: Season and Round must be non-negative integers; Division must be selected from the provided list; Team must be a valid string.
  • API rate limits or downtime: If the API returns errors or no data, verify the API service status and respect any rate limits.
  • Empty or unexpected responses: Double-check the combination of Season, Division, Team, and Round parameters to ensure they correspond to existing data.

Links and References

Discussion