Results 1 to 5 of 5

Thread: Getting Clan Members by Tag does not Work correctly

  1. #1
    Fresh Spawn
    Join Date
    Jul 2014
    Posts
    3

    Question Getting Clan Members by Tag does not Work correctly

    Hey,
    currently I try to get the Information about my Clan mates.

    Entering their Tag works fine, except for one person.

    Even on the official Homepage I entered their Tag and getting as response "no content".

    All the other persons are fine.

    Any Idea why this happens?

  2. #2
    Trainee
    Join Date
    Sep 2019
    Location
    Finland
    Posts
    23
    Most probably you misinterpret the player tag, for example O instead of 0 or 1 instead of L or V instead of Y etc.

    Please provide us your clan tag and the name of the player so that we can verify the player tag.
    .NET Standard library for Clash of Clans API @ https://github.com/tparviainen/clashofclans

  3. #3
    Fresh Spawn
    Join Date
    Jul 2014
    Posts
    3
    Tag surely works, as I'm copying it from my CodeProgramm, where I detect it from my Clan either to the Documentation, using it in my further programm or entering it Ingame via Emulator (Copy paste)

    Only on the last on I get the Playerdata

    #LGYQPRCJ2


  4. #4
    Trainee
    Join Date
    Sep 2019
    Location
    Finland
    Posts
    23
    No problems reading the player RPGJacky / #LGYQPRCJ2 data via the API using my own .NET Standard library:

    Code:
    f1693ba0-47a5-4802-b03b-e8b8718df3b9: Uri: /players/%23LGYQPRCJ2
    f1693ba0-47a5-4802-b03b-e8b8718df3b9: Throttling: 0 ms
    f1693ba0-47a5-4802-b03b-e8b8718df3b9: StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
    {
      Date: Wed, 18 Mar 2020 15:22:20 GMT
      Connection: keep-alive
      X-Content-Type-Options: nosniff
      Strict-Transport-Security: max-age=43200
      Cache-Control: max-age=60
      Content-Type: application/json; charset=utf-8
      Content-Length: 10806
    }, completed in 215 ms
    f1693ba0-47a5-4802-b03b-e8b8718df3b9: Content: 
    {
        "tag": "#LGYQPRCJ2",
        "name": "RPGJacky",
        "townHallLevel": 9,
        "expLevel": 84,
        "trophies": 1963,
        "bestTrophies": 2020,
        "warStars": 28,
        "attackWins": 192,
        "defenseWins": 21,
        "builderHallLevel": 6,
        "versusTrophies": 1942,
        "bestVersusTrophies": 1989,
        "versusBattleWins": 239,
        "role": "admin",
        "donations": 1787,
        "donationsReceived": 4503,
        "clan": {
            "tag": "#28RRQQUG8",
            "name": "Peaky Blinders",
            "clanLevel": 6,
            "badgeUrls": {
                "small": "https://api-assets.clashofclans.com/badges/70/EW2puA71xSzunextv0nxZOHqkVG4tygVdGt36wNLN1s.png",
                "large": "https://api-assets.clashofclans.com/badges/512/EW2puA71xSzunextv0nxZOHqkVG4tygVdGt36wNLN1s.png",
                "medium": "https://api-assets.clashofclans.com/badges/200/EW2puA71xSzunextv0nxZOHqkVG4tygVdGt36wNLN1s.png"
            }
        },
        "league": {
            "id": 29000010,
            "name": "Crystal League III",
            "iconUrls": {
                "small": "https://api-assets.clashofclans.com/leagues/72/Hyqco7bHh0Q81xB8mSF_ZhjKnKcTmJ9QEq9QGlsxiKE.png",
                "tiny": "https://api-assets.clashofclans.com/leagues/36/Hyqco7bHh0Q81xB8mSF_ZhjKnKcTmJ9QEq9QGlsxiKE.png",
                "medium": "https://api-assets.clashofclans.com/leagues/288/Hyqco7bHh0Q81xB8mSF_ZhjKnKcTmJ9QEq9QGlsxiKE.png"
            }
        },
        "achievements": [
            {
                "name": "Bigger Coffers",
                "stars": 3,
                "value": 11,
                "target": 10,
                "info": "Upgrade a Gold Storage to level 10",
                "completionInfo": "Highest Gold Storage level: 11",
                "village": "home"
            },
            {
                "name": "Get those Goblins!",
                "stars": 3,
                "value": 155,
                "target": 150,
                "info": "Win 150 Stars on the Campaign Map",
                "completionInfo": "Stars in Campaign Map: 155",
                "village": "home"
            },
            {
                "name": "Bigger & Better",
                "stars": 3,
                "value": 9,
                "target": 8,
                "info": "Upgrade Town Hall to level 8",
                "completionInfo": "Current Town Hall level: 9",
                "village": "home"
            },
            {
                "name": "Nice and Tidy",
                "stars": 3,
                "value": 559,
                "target": 500,
                "info": "Remove 500 obstacles (trees, rocks, bushes)",
                "completionInfo": "Total obstacles removed: 559",
                "village": "home"
            },
            {
                "name": "Release the Beasts",
                "stars": 3,
                "value": 1,
                "target": 1,
                "info": "Unlock Dragon in the Barracks",
                "completionInfo": null,
                "village": "home"
            },
            {
                "name": "Gold Grab",
                "stars": 3,
                "value": 116678283,
                "target": 100000000,
                "info": "Steal 100000000 gold",
                "completionInfo": "Total Gold looted: 116678283",
                "village": "home"
            },
            {
                "name": "Elixir Escapade",
                "stars": 3,
                "value": 125761585,
                "target": 100000000,
                "info": "Steal 100000000 elixir",
                "completionInfo": "Total Elixir looted: 125761585",
                "village": "home"
            },
            {
                "name": "Sweet Victory!",
                "stars": 3,
                "value": 2020,
                "target": 1250,
                "info": "Achieve a total of 1250 trophies in Multiplayer battles",
                "completionInfo": "Trophy record: 2020",
                "village": "home"
            },
            {
                "name": "Empire Builder",
                "stars": 3,
                "value": 5,
                "target": 4,
                "info": "Upgrade Clan Castle to level 4",
                "completionInfo": "Current Clan Castle level: 5",
                "village": "home"
            },
            {
                "name": "Wall Buster",
                "stars": 2,
                "value": 1076,
                "target": 2000,
                "info": "Destroy 2000 Walls in Multiplayer battles",
                "completionInfo": "Total walls destroyed: 1076",
                "village": "home"
            },
            {
                "name": "Humiliator",
                "stars": 2,
                "value": 316,
                "target": 2000,
                "info": "Destroy 2000 Town Halls in Multiplayer battles",
                "completionInfo": "Total Town Halls destroyed: 316",
                "village": "home"
            },
            {
                "name": "Union Buster",
                "stars": 2,
                "value": 1276,
                "target": 2500,
                "info": "Destroy 2500 Builder's Huts in Multiplayer battles",
                "completionInfo": "Total Builder's Huts destroyed: 1276",
                "village": "home"
            },
            {
                "name": "Conqueror",
                "stars": 2,
                "value": 435,
                "target": 5000,
                "info": "Win 5000 Multiplayer battles",
                "completionInfo": "Total multiplayer battles won: 435",
                "village": "home"
            },
            {
                "name": "Unbreakable",
                "stars": 1,
                "value": 39,
                "target": 250,
                "info": "Successfully defend against 250 attacks",
                "completionInfo": "Total defenses won: 39",
                "village": "home"
            },
            {
                "name": "Friend in Need",
                "stars": 1,
                "value": 3526,
                "target": 5000,
                "info": "Donate 5000 Clan Castle capacity worth of reinforcements",
                "completionInfo": "Total capacity donated: 3526",
                "village": "home"
            },
            {
                "name": "Mortar Mauler",
                "stars": 2,
                "value": 1183,
                "target": 5000,
                "info": "Destroy 5000 Mortars in Multiplayer battles",
                "completionInfo": "Total Mortars destroyed: 1183",
                "village": "home"
            },
            {
                "name": "Heroic Heist",
                "stars": 2,
                "value": 387672,
                "target": 1000000,
                "info": "Steal 1000000 Dark Elixir",
                "completionInfo": "Total Dark Elixir looted: 387672",
                "village": "home"
            },
            {
                "name": "League All-Star",
                "stars": 1,
                "value": 10,
                "target": 1,
                "info": "Reach the Masters League",
                "completionInfo": null,
                "village": "home"
            },
            {
                "name": "X-Bow Exterminator",
                "stars": 1,
                "value": 235,
                "target": 250,
                "info": "Destroy 250 X-Bows in Multiplayer battles",
                "completionInfo": "Total X-Bows destroyed: 235",
                "village": "home"
            },
            {
                "name": "Firefighter",
                "stars": 1,
                "value": 33,
                "target": 250,
                "info": "Destroy 250 Inferno Towers in Multiplayer battles",
                "completionInfo": "Total Inferno Towers destroyed: 33",
                "village": "home"
            },
            {
                "name": "War Hero",
                "stars": 1,
                "value": 28,
                "target": 150,
                "info": "Score 150 Stars for your clan in Clan War battles",
                "completionInfo": "Total Stars scored for clan in Clan War battles: 28",
                "village": "home"
            },
            {
                "name": "Treasurer",
                "stars": 2,
                "value": 21046816,
                "target": 100000000,
                "info": "Collect 100000000 gold from the Treasury",
                "completionInfo": "Total gold collected in Clan War bonuses: 21046816",
                "village": "home"
            },
            {
                "name": "Anti-Artillery",
                "stars": 0,
                "value": 6,
                "target": 20,
                "info": "Destroy 20 Eagle Artilleries in Multiplayer battles",
                "completionInfo": "Total Eagle Artilleries destroyed: 6",
                "village": "home"
            },
            {
                "name": "Sharing is caring",
                "stars": 0,
                "value": 54,
                "target": 100,
                "info": "Donate 100 spell storage capacity worth of spells",
                "completionInfo": "Total spell capacity donated: 54",
                "village": "home"
            },
            {
                "name": "Keep your village safe",
                "stars": 0,
                "value": 0,
                "target": 1,
                "info": "Connect your account to a social network for safe keeping.",
                "completionInfo": "Completed!",
                "village": "home"
            },
            {
                "name": "Master Engineering",
                "stars": 2,
                "value": 6,
                "target": 8,
                "info": "Upgrade Builder Hall to level 8",
                "completionInfo": "Current Builder Hall level: 6",
                "village": "builderBase"
            },
            {
                "name": "Next Generation Model",
                "stars": 2,
                "value": 1,
                "target": 1,
                "info": "Unlock Cannon Cart in the Builder Barracks",
                "completionInfo": null,
                "village": "builderBase"
            },
            {
                "name": "Un-Build It",
                "stars": 2,
                "value": 182,
                "target": 2000,
                "info": "Destroy 2000 Builder Halls in Versus battles",
                "completionInfo": "Total Builder Halls destroyed: 182",
                "village": "builderBase"
            },
            {
                "name": "Champion Builder",
                "stars": 2,
                "value": 1989,
                "target": 3000,
                "info": "Achieve a total of 3000 trophies in Versus battles",
                "completionInfo": "Versus Trophy record: 1989",
                "village": "builderBase"
            },
            {
                "name": "High Gear",
                "stars": 1,
                "value": 1,
                "target": 2,
                "info": "Gear Up 2 buildings using the Master Builder",
                "completionInfo": "Total buildings geared up: 1",
                "village": "builderBase"
            },
            {
                "name": "Hidden Treasures",
                "stars": 3,
                "value": 1,
                "target": 1,
                "info": "Rebuild Battle Machine",
                "completionInfo": null,
                "village": "builderBase"
            },
            {
                "name": "Games Champion",
                "stars": 0,
                "value": 5250,
                "target": 10000,
                "info": "Earn 10000 points in Clan Games",
                "completionInfo": "Total Clan Games points: 5250",
                "village": "home"
            },
            {
                "name": "Dragon Slayer",
                "stars": 0,
                "value": 0,
                "target": 1,
                "info": "Slay the Giant Dragon",
                "completionInfo": null,
                "village": "home"
            },
            {
                "name": "War League Legend",
                "stars": 1,
                "value": 21,
                "target": 100,
                "info": "Score 100 Stars for your clan in War League battles",
                "completionInfo": "Total Stars scored for clan in War League battles: 21",
                "village": "home"
            },
            {
                "name": "Keep your village safe",
                "stars": 0,
                "value": 0,
                "target": 1,
                "info": "Connect your account to Supercell ID for safe keeping.",
                "completionInfo": "Completed!",
                "village": "home"
            },
            {
                "name": "Well Seasoned",
                "stars": 1,
                "value": 8520,
                "target": 15000,
                "info": "Earn 15000 points in Season Challenges",
                "completionInfo": "Total Season Challenges points: 8520",
                "village": "home"
            },
            {
                "name": "Shattered and Scattered",
                "stars": 0,
                "value": 0,
                "target": 40,
                "info": "Destroy 40 Scattershots in Multiplayer battles",
                "completionInfo": "Total Scattershots destroyed: 0",
                "village": "home"
            }
        ],
        "versusBattleWinCount": 239,
        "labels": [
            {
                "id": 57000007,
                "name": "Farming",
                "iconUrls": {
                    "small": "https://api-assets.clashofclans.com/labels/64/aKHRoHhkn6n3wj09tWxAA3DfKL6s45dHe3_VtKgkkhQ.png",
                    "medium": "https://api-assets.clashofclans.com/labels/128/aKHRoHhkn6n3wj09tWxAA3DfKL6s45dHe3_VtKgkkhQ.png"
                }
            },
            {
                "id": 57000010,
                "name": "Hungry Learner",
                "iconUrls": {
                    "small": "https://api-assets.clashofclans.com/labels/64/jEvZf9PnfPaqYh2PMLBoJfB1BoBpomerqmsYWDYisKY.png",
                    "medium": "https://api-assets.clashofclans.com/labels/128/jEvZf9PnfPaqYh2PMLBoJfB1BoBpomerqmsYWDYisKY.png"
                }
            },
            {
                "id": 57000011,
                "name": "Friendly",
                "iconUrls": {
                    "small": "https://api-assets.clashofclans.com/labels/64/t0KZ4173i9vJFrD5F06-2TFNFk9UwJXxPjfutcG-dig.png",
                    "medium": "https://api-assets.clashofclans.com/labels/128/t0KZ4173i9vJFrD5F06-2TFNFk9UwJXxPjfutcG-dig.png"
                }
            }
        ],
        "troops": [
            {
                "name": "Barbarian",
                "level": 3,
                "maxLevel": 8,
                "village": "home"
            },
            {
                "name": "Archer",
                "level": 3,
                "maxLevel": 8,
                "village": "home"
            },
            {
                "name": "Goblin",
                "level": 2,
                "maxLevel": 7,
                "village": "home"
            },
            {
                "name": "Giant",
                "level": 3,
                "maxLevel": 9,
                "village": "home"
            },
            {
                "name": "Wall Breaker",
                "level": 2,
                "maxLevel": 9,
                "village": "home"
            },
            {
                "name": "Balloon",
                "level": 6,
                "maxLevel": 9,
                "village": "home"
            },
            {
                "name": "Wizard",
                "level": 6,
                "maxLevel": 9,
                "village": "home"
            },
            {
                "name": "Healer",
                "level": 2,
                "maxLevel": 6,
                "village": "home"
            },
            {
                "name": "Dragon",
                "level": 4,
                "maxLevel": 8,
                "village": "home"
            },
            {
                "name": "P.E.K.K.A",
                "level": 4,
                "maxLevel": 8,
                "village": "home"
            },
            {
                "name": "Minion",
                "level": 1,
                "maxLevel": 8,
                "village": "home"
            },
            {
                "name": "Hog Rider",
                "level": 1,
                "maxLevel": 10,
                "village": "home"
            },
            {
                "name": "Valkyrie",
                "level": 1,
                "maxLevel": 7,
                "village": "home"
            },
            {
                "name": "Golem",
                "level": 1,
                "maxLevel": 9,
                "village": "home"
            },
            {
                "name": "Witch",
                "level": 1,
                "maxLevel": 5,
                "village": "home"
            },
            {
                "name": "Lava Hound",
                "level": 1,
                "maxLevel": 5,
                "village": "home"
            },
            {
                "name": "Baby Dragon",
                "level": 1,
                "maxLevel": 6,
                "village": "home"
            },
            {
                "name": "Raged Barbarian",
                "level": 7,
                "maxLevel": 18,
                "village": "builderBase"
            },
            {
                "name": "Sneaky Archer",
                "level": 8,
                "maxLevel": 18,
                "village": "builderBase"
            },
            {
                "name": "Beta Minion",
                "level": 7,
                "maxLevel": 18,
                "village": "builderBase"
            },
            {
                "name": "Boxer Giant",
                "level": 8,
                "maxLevel": 18,
                "village": "builderBase"
            },
            {
                "name": "Bomber",
                "level": 8,
                "maxLevel": 18,
                "village": "builderBase"
            },
            {
                "name": "Cannon Cart",
                "level": 6,
                "maxLevel": 18,
                "village": "builderBase"
            },
            {
                "name": "Baby Dragon",
                "level": 8,
                "maxLevel": 18,
                "village": "builderBase"
            },
            {
                "name": "Night Witch",
                "level": 2,
                "maxLevel": 18,
                "village": "builderBase"
            }
        ],
        "heroes": [
            {
                "name": "Barbarian King",
                "level": 13,
                "maxLevel": 70,
                "village": "home"
            },
            {
                "name": "Archer Queen",
                "level": 17,
                "maxLevel": 70,
                "village": "home"
            },
            {
                "name": "Battle Machine",
                "level": 2,
                "maxLevel": 30,
                "village": "builderBase"
            }
        ],
        "spells": [
            {
                "name": "Lightning Spell",
                "level": 5,
                "maxLevel": 7,
                "village": "home"
            },
            {
                "name": "Healing Spell",
                "level": 3,
                "maxLevel": 8,
                "village": "home"
            },
            {
                "name": "Rage Spell",
                "level": 5,
                "maxLevel": 6,
                "village": "home"
            },
            {
                "name": "Jump Spell",
                "level": 2,
                "maxLevel": 4,
                "village": "home"
            },
            {
                "name": "Freeze Spell",
                "level": 1,
                "maxLevel": 7,
                "village": "home"
            },
            {
                "name": "Poison Spell",
                "level": 1,
                "maxLevel": 6,
                "village": "home"
            },
            {
                "name": "Earthquake Spell",
                "level": 1,
                "maxLevel": 5,
                "village": "home"
            },
            {
                "name": "Haste Spell",
                "level": 1,
                "maxLevel": 5,
                "village": "home"
            },
            {
                "name": "Skeleton Spell",
                "level": 1,
                "maxLevel": 7,
                "village": "home"
            }
        ]
    }
    Last edited by tparviainen; 1 Week Ago at 03:27 PM.
    .NET Standard library for Clash of Clans API @ https://github.com/tparviainen/clashofclans

  5. #5
    Fresh Spawn
    Join Date
    Jul 2014
    Posts
    3
    Checked it now, now it returns something... wow

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •