Actions24
- Get Capital District Info
- Get Clan
- Get Clan Capital Info
- Get Clan Capital Raid Log
- Get Clan Members
- Get Clan Rankings
- Get Clan War Log
- Get Current War
- Get CWL Group
- Get CWL War
- Get League Info
- Get League Season Rankings
- Get League Seasons
- Get Location Info
- Get Location Rankings
- Get Locations
- Get Player
- Get Player Achievement Progress
- Get Player Battle Log
- Get Player Rankings
- Get Player Upcoming Chests
- Get War Leagues
- Search Clans
- Verify Player Token
Overview
This node integrates with the Clash of Clans API to retrieve detailed rankings for a specific league season. It is useful for users who want to analyze competitive standings within a particular league and season, such as tracking player or clan performance over time in ranked leagues like Legend League or Titan League.
Practical examples include:
- Fetching the top players or clans in the Legend League for January 2024.
- Monitoring seasonal ranking changes to inform gaming strategies or community updates.
- Integrating league season rankings into dashboards or reports for Clash of Clans communities.
Properties
| Name | Meaning |
|---|---|
| League ID | The identifier of the league to query (e.g., 29000022 for Legend League, 29000023 for Titan League). |
| Season ID | The identifier of the season to retrieve rankings for (e.g., 2024-01 for January 2024). |
| Pagination | Parameters to control paging through results: |
| - Limit: Maximum number of results to return per request (minimum 1). | |
| - After: Return only items occurring after this marker (for pagination). | |
| - Before: Return only items occurring before this marker (for pagination). |
Output
The node outputs a JSON object containing the API response data under the json field. This includes:
operation: The operation performed (getLeagueSeasonRankings).url: The full URL used for the API request.data: The raw data returned by the Clash of Clans API for the requested league season rankings.timestamp: The ISO timestamp when the data was retrieved.metadata: Additional metadata including:operationType: Categorized type of operation (league).apiVersion: Version of the API used (v1).processedAt: Timestamp when the data was processed.
The exact structure of data depends on the API's response but typically includes ranking lists of players or clans for the specified league season.
No binary data output is produced by this node.
Dependencies
- Requires an active Clash of Clans API key credential configured in n8n.
- Internet access to reach the official Clash of Clans API endpoint at
https://api.clashofclans.com/v1. - Proper permissions associated with the API token to access league season ranking data.
Troubleshooting
- Invalid League or Season ID: If the provided league or season ID does not exist or is malformed, the API may return an error or empty results. Verify IDs against official Clash of Clans documentation or API explorer.
- API Authentication Errors: Missing or invalid API tokens will cause authorization failures. Ensure the API key credential is correctly set up and has necessary scopes.
- Pagination Issues: Incorrect use of
afterorbeforemarkers can result in no data returned. Use these parameters carefully based on previous responses. - Rate Limits: The Clash of Clans API enforces rate limits; excessive requests may lead to temporary blocking. Implement retries or delays if needed.
- Network Connectivity: Ensure stable internet connection to avoid request timeouts or failures.
Links and References
If you need details about other operations or resources, feel free to ask!