Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

supercell is not sending all the data for /clans/{clanTag}/warlog #15

Closed
ionutale opened this issue Oct 25, 2019 · 3 comments
Closed

supercell is not sending all the data for /clans/{clanTag}/warlog #15

ionutale opened this issue Oct 25, 2019 · 3 comments

Comments

@ionutale
Copy link
Contributor

ionutale commented Oct 25, 2019

in the documentation, supercell promise to respond with a members array with with a attacks subproperty ( see bellow )
but in reality the api does not respond with that property
is this something that they removed ?

[
  {
    "clan": {
      "destructionPercentage": {},
      "tag": "string",
      "name": "string",
      "badgeUrls": {},
      "clanLevel": 0,
      "attacks": 0,
      "stars": 0,
      "expEarned": 0,
      "members": [
        {
          "tag": "string",
          "name": "string",
          "mapPosition": 0,
          "townhallLevel": 0,
          "opponentAttacks": 0,
          "bestOpponentAttack": {
            "order": 0,
            "attackerTag": "string",
            "defenderTag": "string",
            "stars": 0,
            "destructionPercentage": 0
          },
          "attacks": [
            {
              "order": 0,
              "attackerTag": "string",
              "defenderTag": "string",
              "stars": 0,
              "destructionPercentage": 0
            }
          ]
        }
      ]
    },
    "teamSize": 0,
    "opponent": {
      "destructionPercentage": {},
      "tag": "string",
      "name": "string",
      "badgeUrls": {},
      "clanLevel": 0,
      "attacks": 0,
      "stars": 0,
      "expEarned": 0,
      "members": [
        {
          "tag": "string",
          "name": "string",
          "mapPosition": 0,
          "townhallLevel": 0,
          "opponentAttacks": 0,
          "bestOpponentAttack": {
            "order": 0,
            "attackerTag": "string",
            "defenderTag": "string",
            "stars": 0,
            "destructionPercentage": 0
          },
          "attacks": [
            {
              "order": 0,
              "attackerTag": "string",
              "defenderTag": "string",
              "stars": 0,
              "destructionPercentage": 0
            }
          ]
        }
      ]
    },
    "endTime": "string",
    "result": "string"
  }
]
@ionutale ionutale changed the title supercell is not send all the data for /clans/{clanTag}/warlog supercell is not sending all the data for /clans/{clanTag}/warlog Jun 20, 2020
@buster95
Copy link

You only can get info about your clan if you have your clan in public

@buster95
Copy link

buster95 commented Oct 1, 2020

hey dude, I'm development a gateway for COC-API in this repo https://github.com/buster95/clashofclans_gateway if you are interesting

@CaptEmulation
Copy link
Owner

I just pass along what data is sent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants