giusvale-dev / jCOC

jCOC (Java Clash of Clans API) jCOC is an open-source Java API designed to provide developers with easy access to Clash of Clans game data and statistics. Whether you're building a Clash of Clans companion app, a clan management tool, or simply want to explore the game's data programmatically, jCOC simplifies the process.
Apache License 2.0
1 stars 0 forks source link

Retrieve information about individual clan war league war #7

Open giusvale-dev opened 1 year ago

giusvale-dev commented 1 year ago

Request URL: https://api.clashofclans.com/v1/clanwarleagues/wars/{clanTag}

Example Request: https://api.clashofclans.com/v1/clanwarleagues/wars/%23VLL2CUVJ

Example Response:

{
  "tag": "string",
  "state": "GROUP_NOT_FOUND",
  "season": "string",
  "clans": [
    {
      "tag": "string",
      "clanLevel": 0,
      "name": "string",
      "members": [
        {
          "tag": "string",
          "townHallLevel": 0,
          "name": "string"
        }
      ],
      "badgeUrls": {}
    }
  ],
  "rounds": [
    {
      "warTags": [
        "string"
      ]
    }
  ]
}