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 information about various game entities and events. Specifically, the "Get CWL War" operation fetches data about a particular Clan War League (CWL) war using provided CWL Group and War IDs. This is useful for clan leaders, analysts, or community managers who want to monitor or analyze specific wars within the Clan War Leagues.
Practical examples include:
- Tracking the progress and results of a specific CWL war.
- Gathering war statistics for reporting or strategy planning.
- Integrating CWL war data into dashboards or clan management tools.
Properties
| Name | Meaning |
|---|---|
| CWL Group ID | The identifier of the Clan War League group from which the CWL war belongs. |
| CWL War ID | The identifier of the specific Clan War League war to retrieve information about. |
Output
The node outputs a JSON object containing detailed information about the requested CWL war. The structure includes:
operation: The name of the performed operation (getCWLWar).url: The full API endpoint URL used for the request.data: The raw response data from the Clash of Clans API representing the CWL war details. This typically includes war participants, scores, start/end times, and other relevant metadata.timestamp: The ISO timestamp when the data was retrieved.metadata: Additional metadata such as the operation type ("war"), API version ("v1"), and processing timestamp.
No binary data output is produced by this operation.
Dependencies
- Requires an active Clash of Clans API key credential configured in n8n.
- The node makes HTTP requests to the official Clash of Clans API endpoint:
https://api.clashofclans.com/v1. - Proper network connectivity to the Clash of Clans API service is necessary.
Troubleshooting
- Invalid or missing CWL Group ID or CWL War ID: Ensure that both IDs are correctly provided and correspond to existing entities in the Clash of Clans system.
- Authentication errors: Verify that the API key credential is valid and has the necessary permissions.
- API rate limits: The Clash of Clans API enforces rate limits; excessive requests may result in temporary blocking.
- Network issues: Confirm that your environment can reach the Clash of Clans API endpoint without firewall or proxy restrictions.
- Error messages: If the node throws an error indicating unsupported operations, double-check that the operation parameter is set exactly to "getCWLWar".
Links and References
- Official Clash of Clans API documentation: https://developer.clashofclans.com/
- Clan War Leagues API section: https://developer.clashofclans.com/#/documentation#wars-clan-war-leagues