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 clans, players, wars, locations, leagues, and other game-related data. Specifically, the "Get Clan" operation fetches comprehensive information about a particular clan using its unique clan tag.
Use cases include:
- Retrieving clan details such as name, level, points, members count, and description.
- Monitoring clan status or changes for community management or analytics.
- Integrating clan data into dashboards or reports.
- Automating workflows that depend on clan information, e.g., notifying when clan stats change.
Example: You can input a clan tag like #ABC123 to get all available data about that clan, which can then be used to update your app or trigger further automation steps.
Properties
| Name | Meaning |
|---|---|
| Clan Tag | The unique identifier of the clan, must start with #. This is required to specify which clan's information to retrieve. |
Output
The node outputs a JSON object containing the following structure:
operation: The operation performed, here"getClan".url: The full API endpoint URL used for the request.data: The raw response data from the Clash of Clans API representing the clan information. This includes all clan details returned by the API.timestamp: The ISO timestamp when the data was processed.metadata: Additional metadata including:operationType: Categorizes the operation type (e.g.,"clan").apiVersion: The version of the API used ("v1").processedAt: Timestamp of processing.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for the Clash of Clans API to authenticate requests.
- The node makes HTTP requests to the official Clash of Clans API endpoint at
https://api.clashofclans.com/v1. - Proper configuration of the API key in n8n credentials is necessary.
Troubleshooting
- Invalid Clan Tag: If the clan tag does not start with
#or is malformed, the API will likely return an error. Ensure the clan tag is correctly formatted. - Authentication Errors: Missing or invalid API token will cause authorization failures. Verify that the API key credential is correctly set up and has proper permissions.
- API Rate Limits: Frequent requests may hit rate limits imposed by the Clash of Clans API. Implement delays or error handling to manage this.
- Network Issues: Connectivity problems can cause request failures. Check network access and proxy settings if applicable.
- Error Messages: The node throws errors with context indicating the item index in batch operations. Use these messages to identify problematic inputs.