Clash API

Testing Clash API

array(20) {
  ["tag"]=>
  string(9) "#L2C8PCVL"
  ["name"]=>
  string(12) "Brightblades"
  ["type"]=>
  string(10) "inviteOnly"
  ["description"]=>
  string(248) "ENGLISH ONLY. Keep chat clean. war prep starts M & F. Be active & donate. War is optional. If you're in war you must use both attacks! if you are super rushed we will not use you in war. elder is earned at leaders discretion by donations & activity"
  ["location"]=>
  array(3) {
    ["id"]=>
    int(32000006)
    ["name"]=>
    string(13) "International"
    ["isCountry"]=>
    bool(false)
  }
  ["badgeUrls"]=>
  array(3) {
    ["small"]=>
    string(93) "https://api-assets.clashofclans.com/badges/70/lh5138F8tqr755o4PEhvhwnDuJTw4x_eEYCbV9ZU56E.png"
    ["large"]=>
    string(94) "https://api-assets.clashofclans.com/badges/512/lh5138F8tqr755o4PEhvhwnDuJTw4x_eEYCbV9ZU56E.png"
    ["medium"]=>
    string(94) "https://api-assets.clashofclans.com/badges/200/lh5138F8tqr755o4PEhvhwnDuJTw4x_eEYCbV9ZU56E.png"
  }
  ["clanLevel"]=>
  int(14)
  ["clanPoints"]=>
  int(14435)
  ["clanVersusPoints"]=>
  int(17485)
  ["requiredTrophies"]=>
  int(1000)
  ["warFrequency"]=>
  string(19) "moreThanOncePerWeek"
  ["warWinStreak"]=>
  int(0)
  ["warWins"]=>
  int(210)
  ["warTies"]=>
  int(0)
  ["warLosses"]=>
  int(194)
  ["isWarLogPublic"]=>
  bool(true)
  ["warLeague"]=>
  array(2) {
    ["id"]=>
    int(48000012)
    ["name"]=>
    string(16) "Crystal League I"
  }
  ["members"]=>
  int(13)
  ["memberList"]=>
  array(13) {
    [0]=>
    array(11) {
      ["tag"]=>
      string(10) "#2G02LUVLG"
      ["name"]=>
      string(5) "drano"
      ["role"]=>
      string(8) "coLeader"
      ["expLevel"]=>
      int(180)
      ["league"]=>
      array(3) {
        ["id"]=>
        int(29000017)
        ["name"]=>
        string(18) "Champion League II"
        ["iconUrls"]=>
        array(3) {
          ["small"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/72/kLWSSyq7vJiRiCantiKCoFuSJOxief6R1ky6AyfB8q0.png"
          ["tiny"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/36/kLWSSyq7vJiRiCantiKCoFuSJOxief6R1ky6AyfB8q0.png"
          ["medium"]=>
          string(95) "https://api-assets.clashofclans.com/leagues/288/kLWSSyq7vJiRiCantiKCoFuSJOxief6R1ky6AyfB8q0.png"
        }
      }
      ["trophies"]=>
      int(3788)
      ["versusTrophies"]=>
      int(3366)
      ["clanRank"]=>
      int(1)
      ["previousClanRank"]=>
      int(1)
      ["donations"]=>
      int(72)
      ["donationsReceived"]=>
      int(0)
    }
    [1]=>
    array(11) {
      ["tag"]=>
      string(10) "#2898GUU9R"
      ["name"]=>
      string(11) "yellerknife"
      ["role"]=>
      string(8) "coLeader"
      ["expLevel"]=>
      int(171)
      ["league"]=>
      array(3) {
        ["id"]=>
        int(29000015)
        ["name"]=>
        string(15) "Master League I"
        ["iconUrls"]=>
        array(3) {
          ["small"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/72/olUfFb1wscIH8hqECAdWbdB6jPm9R8zzEyHIzyBgRXc.png"
          ["tiny"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/36/olUfFb1wscIH8hqECAdWbdB6jPm9R8zzEyHIzyBgRXc.png"
          ["medium"]=>
          string(95) "https://api-assets.clashofclans.com/leagues/288/olUfFb1wscIH8hqECAdWbdB6jPm9R8zzEyHIzyBgRXc.png"
        }
      }
      ["trophies"]=>
      int(2985)
      ["versusTrophies"]=>
      int(3071)
      ["clanRank"]=>
      int(2)
      ["previousClanRank"]=>
      int(2)
      ["donations"]=>
      int(20)
      ["donationsReceived"]=>
      int(210)
    }
    [2]=>
    array(11) {
      ["tag"]=>
      string(9) "#28YJ89GY"
      ["name"]=>
      string(7) "Shane W"
      ["role"]=>
      string(6) "leader"
      ["expLevel"]=>
      int(207)
      ["league"]=>
      array(3) {
        ["id"]=>
        int(29000014)
        ["name"]=>
        string(16) "Master League II"
        ["iconUrls"]=>
        array(3) {
          ["small"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/72/4wtS1stWZQ-1VJ5HaCuDPfdhTWjeZs_jPar_YPzK6Lg.png"
          ["tiny"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/36/4wtS1stWZQ-1VJ5HaCuDPfdhTWjeZs_jPar_YPzK6Lg.png"
          ["medium"]=>
          string(95) "https://api-assets.clashofclans.com/leagues/288/4wtS1stWZQ-1VJ5HaCuDPfdhTWjeZs_jPar_YPzK6Lg.png"
        }
      }
      ["trophies"]=>
      int(2841)
      ["versusTrophies"]=>
      int(3884)
      ["clanRank"]=>
      int(3)
      ["previousClanRank"]=>
      int(3)
      ["donations"]=>
      int(0)
      ["donationsReceived"]=>
      int(2)
    }
    [3]=>
    array(11) {
      ["tag"]=>
      string(9) "#QVUCJY2R"
      ["name"]=>
      string(4) "Earl"
      ["role"]=>
      string(6) "member"
      ["expLevel"]=>
      int(166)
      ["league"]=>
      array(3) {
        ["id"]=>
        int(29000013)
        ["name"]=>
        string(17) "Master League III"
        ["iconUrls"]=>
        array(3) {
          ["small"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/72/pSXfKvBKSgtvfOY3xKkgFaRQi0WcE28s3X35ywbIluY.png"
          ["tiny"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/36/pSXfKvBKSgtvfOY3xKkgFaRQi0WcE28s3X35ywbIluY.png"
          ["medium"]=>
          string(95) "https://api-assets.clashofclans.com/leagues/288/pSXfKvBKSgtvfOY3xKkgFaRQi0WcE28s3X35ywbIluY.png"
        }
      }
      ["trophies"]=>
      int(2713)
      ["versusTrophies"]=>
      int(2667)
      ["clanRank"]=>
      int(4)
      ["previousClanRank"]=>
      int(4)
      ["donations"]=>
      int(105)
      ["donationsReceived"]=>
      int(22)
    }
    [4]=>
    array(11) {
      ["tag"]=>
      string(9) "#2V2PR9CU"
      ["name"]=>
      string(6) "dubs2u"
      ["role"]=>
      string(5) "admin"
      ["expLevel"]=>
      int(200)
      ["league"]=>
      array(3) {
        ["id"]=>
        int(29000000)
        ["name"]=>
        string(8) "Unranked"
        ["iconUrls"]=>
        array(2) {
          ["small"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/72/e--YMyIexEQQhE4imLoJcwhYn6Uy8KqlgyY3_kFV6t4.png"
          ["tiny"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/36/e--YMyIexEQQhE4imLoJcwhYn6Uy8KqlgyY3_kFV6t4.png"
        }
      }
      ["trophies"]=>
      int(2679)
      ["versusTrophies"]=>
      int(4359)
      ["clanRank"]=>
      int(5)
      ["previousClanRank"]=>
      int(5)
      ["donations"]=>
      int(0)
      ["donationsReceived"]=>
      int(0)
    }
    [5]=>
    array(11) {
      ["tag"]=>
      string(8) "#JRRUVJQ"
      ["name"]=>
      string(10) "QuantumSin"
      ["role"]=>
      string(8) "coLeader"
      ["expLevel"]=>
      int(163)
      ["league"]=>
      array(3) {
        ["id"]=>
        int(29000000)
        ["name"]=>
        string(8) "Unranked"
        ["iconUrls"]=>
        array(2) {
          ["small"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/72/e--YMyIexEQQhE4imLoJcwhYn6Uy8KqlgyY3_kFV6t4.png"
          ["tiny"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/36/e--YMyIexEQQhE4imLoJcwhYn6Uy8KqlgyY3_kFV6t4.png"
        }
      }
      ["trophies"]=>
      int(2615)
      ["versusTrophies"]=>
      int(3714)
      ["clanRank"]=>
      int(6)
      ["previousClanRank"]=>
      int(6)
      ["donations"]=>
      int(0)
      ["donationsReceived"]=>
      int(0)
    }
    [6]=>
    array(11) {
      ["tag"]=>
      string(9) "#LU0C2QYQ"
      ["name"]=>
      string(5) "keiji"
      ["role"]=>
      string(6) "member"
      ["expLevel"]=>
      int(125)
      ["league"]=>
      array(3) {
        ["id"]=>
        int(29000012)
        ["name"]=>
        string(16) "Crystal League I"
        ["iconUrls"]=>
        array(3) {
          ["small"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/72/kSfTyNNVSvogX3dMvpFUTt72VW74w6vEsEFuuOV4osQ.png"
          ["tiny"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/36/kSfTyNNVSvogX3dMvpFUTt72VW74w6vEsEFuuOV4osQ.png"
          ["medium"]=>
          string(95) "https://api-assets.clashofclans.com/leagues/288/kSfTyNNVSvogX3dMvpFUTt72VW74w6vEsEFuuOV4osQ.png"
        }
      }
      ["trophies"]=>
      int(2398)
      ["versusTrophies"]=>
      int(2061)
      ["clanRank"]=>
      int(7)
      ["previousClanRank"]=>
      int(7)
      ["donations"]=>
      int(32)
      ["donationsReceived"]=>
      int(0)
    }
    [7]=>
    array(11) {
      ["tag"]=>
      string(9) "#GQRRYRQY"
      ["name"]=>
      string(6) "osiris"
      ["role"]=>
      string(5) "admin"
      ["expLevel"]=>
      int(178)
      ["league"]=>
      array(3) {
        ["id"]=>
        int(29000011)
        ["name"]=>
        string(17) "Crystal League II"
        ["iconUrls"]=>
        array(3) {
          ["small"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/72/jhP36EhAA9n1ADafdQtCP-ztEAQjoRpY7cT8sU7SW8A.png"
          ["tiny"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/36/jhP36EhAA9n1ADafdQtCP-ztEAQjoRpY7cT8sU7SW8A.png"
          ["medium"]=>
          string(95) "https://api-assets.clashofclans.com/leagues/288/jhP36EhAA9n1ADafdQtCP-ztEAQjoRpY7cT8sU7SW8A.png"
        }
      }
      ["trophies"]=>
      int(2318)
      ["versusTrophies"]=>
      int(3593)
      ["clanRank"]=>
      int(8)
      ["previousClanRank"]=>
      int(8)
      ["donations"]=>
      int(5)
      ["donationsReceived"]=>
      int(0)
    }
    [8]=>
    array(11) {
      ["tag"]=>
      string(9) "#JRQL98JQ"
      ["name"]=>
      string(11) "little Bill"
      ["role"]=>
      string(6) "member"
      ["expLevel"]=>
      int(129)
      ["league"]=>
      array(3) {
        ["id"]=>
        int(29000000)
        ["name"]=>
        string(8) "Unranked"
        ["iconUrls"]=>
        array(2) {
          ["small"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/72/e--YMyIexEQQhE4imLoJcwhYn6Uy8KqlgyY3_kFV6t4.png"
          ["tiny"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/36/e--YMyIexEQQhE4imLoJcwhYn6Uy8KqlgyY3_kFV6t4.png"
        }
      }
      ["trophies"]=>
      int(2244)
      ["versusTrophies"]=>
      int(2100)
      ["clanRank"]=>
      int(9)
      ["previousClanRank"]=>
      int(9)
      ["donations"]=>
      int(0)
      ["donationsReceived"]=>
      int(0)
    }
    [9]=>
    array(11) {
      ["tag"]=>
      string(9) "#GYUC0UQQ"
      ["name"]=>
      string(13) "William Munny"
      ["role"]=>
      string(5) "admin"
      ["expLevel"]=>
      int(121)
      ["league"]=>
      array(3) {
        ["id"]=>
        int(29000000)
        ["name"]=>
        string(8) "Unranked"
        ["iconUrls"]=>
        array(2) {
          ["small"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/72/e--YMyIexEQQhE4imLoJcwhYn6Uy8KqlgyY3_kFV6t4.png"
          ["tiny"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/36/e--YMyIexEQQhE4imLoJcwhYn6Uy8KqlgyY3_kFV6t4.png"
        }
      }
      ["trophies"]=>
      int(2002)
      ["versusTrophies"]=>
      int(2375)
      ["clanRank"]=>
      int(10)
      ["previousClanRank"]=>
      int(10)
      ["donations"]=>
      int(0)
      ["donationsReceived"]=>
      int(0)
    }
    [10]=>
    array(11) {
      ["tag"]=>
      string(9) "#8P0J9UQ9"
      ["name"]=>
      string(15) "BoatyMcBoatface"
      ["role"]=>
      string(5) "admin"
      ["expLevel"]=>
      int(119)
      ["league"]=>
      array(3) {
        ["id"]=>
        int(29000000)
        ["name"]=>
        string(8) "Unranked"
        ["iconUrls"]=>
        array(2) {
          ["small"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/72/e--YMyIexEQQhE4imLoJcwhYn6Uy8KqlgyY3_kFV6t4.png"
          ["tiny"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/36/e--YMyIexEQQhE4imLoJcwhYn6Uy8KqlgyY3_kFV6t4.png"
        }
      }
      ["trophies"]=>
      int(1880)
      ["versusTrophies"]=>
      int(2069)
      ["clanRank"]=>
      int(11)
      ["previousClanRank"]=>
      int(11)
      ["donations"]=>
      int(0)
      ["donationsReceived"]=>
      int(0)
    }
    [11]=>
    array(11) {
      ["tag"]=>
      string(10) "#2PU99CRQJ"
      ["name"]=>
      string(5) "Henry"
      ["role"]=>
      string(6) "member"
      ["expLevel"]=>
      int(103)
      ["league"]=>
      array(3) {
        ["id"]=>
        int(29000007)
        ["name"]=>
        string(15) "Gold League III"
        ["iconUrls"]=>
        array(3) {
          ["small"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/72/vd4Lhz5b2I1P0cLH25B6q63JN3Wt1j2NTMhOYpMPQ4M.png"
          ["tiny"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/36/vd4Lhz5b2I1P0cLH25B6q63JN3Wt1j2NTMhOYpMPQ4M.png"
          ["medium"]=>
          string(95) "https://api-assets.clashofclans.com/leagues/288/vd4Lhz5b2I1P0cLH25B6q63JN3Wt1j2NTMhOYpMPQ4M.png"
        }
      }
      ["trophies"]=>
      int(1395)
      ["versusTrophies"]=>
      int(2531)
      ["clanRank"]=>
      int(12)
      ["previousClanRank"]=>
      int(12)
      ["donations"]=>
      int(0)
      ["donationsReceived"]=>
      int(0)
    }
    [12]=>
    array(11) {
      ["tag"]=>
      string(10) "#YQJ0Y200P"
      ["name"]=>
      string(7) "Momster"
      ["role"]=>
      string(6) "member"
      ["expLevel"]=>
      int(97)
      ["league"]=>
      array(3) {
        ["id"]=>
        int(29000006)
        ["name"]=>
        string(15) "Silver League I"
        ["iconUrls"]=>
        array(3) {
          ["small"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/72/nvrBLvCK10elRHmD1g9w5UU1flDRMhYAojMB2UbYfPs.png"
          ["tiny"]=>
          string(94) "https://api-assets.clashofclans.com/leagues/36/nvrBLvCK10elRHmD1g9w5UU1flDRMhYAojMB2UbYfPs.png"
          ["medium"]=>
          string(95) "https://api-assets.clashofclans.com/leagues/288/nvrBLvCK10elRHmD1g9w5UU1flDRMhYAojMB2UbYfPs.png"
        }
      }
      ["trophies"]=>
      int(1314)
      ["versusTrophies"]=>
      int(2302)
      ["clanRank"]=>
      int(13)
      ["previousClanRank"]=>
      int(13)
      ["donations"]=>
      int(0)
      ["donationsReceived"]=>
      int(0)
    }
  }
  ["labels"]=>
  array(3) {
    [0]=>
    array(3) {
      ["id"]=>
      int(56000000)
      ["name"]=>
      string(9) "Clan Wars"
      ["iconUrls"]=>
      array(2) {
        ["small"]=>
        string(93) "https://api-assets.clashofclans.com/labels/64/lXaIuoTlfoNOY5fKcQGeT57apz1KFWkN9-raxqIlMbE.png"
        ["medium"]=>
        string(94) "https://api-assets.clashofclans.com/labels/128/lXaIuoTlfoNOY5fKcQGeT57apz1KFWkN9-raxqIlMbE.png"
      }
    }
    [1]=>
    array(3) {
      ["id"]=>
      int(56000001)
      ["name"]=>
      string(15) "Clan War League"
      ["iconUrls"]=>
      array(2) {
        ["small"]=>
        string(93) "https://api-assets.clashofclans.com/labels/64/5w60_3bdtYUe9SM6rkxBRyV_8VvWw_jTlDS5ieU3IsI.png"
        ["medium"]=>
        string(94) "https://api-assets.clashofclans.com/labels/128/5w60_3bdtYUe9SM6rkxBRyV_8VvWw_jTlDS5ieU3IsI.png"
      }
    }
    [2]=>
    array(3) {
      ["id"]=>
      int(56000010)
      ["name"]=>
      string(8) "Friendly"
      ["iconUrls"]=>
      array(2) {
        ["small"]=>
        string(93) "https://api-assets.clashofclans.com/labels/64/hM7SHnN0x7syFa-s6fE7LzeO5yWG2sfFpZUHuzgMwQg.png"
        ["medium"]=>
        string(94) "https://api-assets.clashofclans.com/labels/128/hM7SHnN0x7syFa-s6fE7LzeO5yWG2sfFpZUHuzgMwQg.png"
      }
    }
  }
}






Most Recent War
array(3) {
  ["state"]=>
  string(8) "notInWar"
  ["clan"]=>
  array(5) {
    ["badgeUrls"]=>
    array(3) {
      ["small"]=>
      string(93) "https://api-assets.clashofclans.com/badges/70/H39b_-WLZGtZVWQ0hqTkE-Tn2AaQnQWy_Iz4yBlvL0M.png"
      ["large"]=>
      string(94) "https://api-assets.clashofclans.com/badges/512/H39b_-WLZGtZVWQ0hqTkE-Tn2AaQnQWy_Iz4yBlvL0M.png"
      ["medium"]=>
      string(94) "https://api-assets.clashofclans.com/badges/200/H39b_-WLZGtZVWQ0hqTkE-Tn2AaQnQWy_Iz4yBlvL0M.png"
    }
    ["clanLevel"]=>
    int(0)
    ["attacks"]=>
    int(0)
    ["stars"]=>
    int(0)
    ["destructionPercentage"]=>
    float(0)
  }
  ["opponent"]=>
  array(5) {
    ["badgeUrls"]=>
    array(3) {
      ["small"]=>
      string(93) "https://api-assets.clashofclans.com/badges/70/H39b_-WLZGtZVWQ0hqTkE-Tn2AaQnQWy_Iz4yBlvL0M.png"
      ["large"]=>
      string(94) "https://api-assets.clashofclans.com/badges/512/H39b_-WLZGtZVWQ0hqTkE-Tn2AaQnQWy_Iz4yBlvL0M.png"
      ["medium"]=>
      string(94) "https://api-assets.clashofclans.com/badges/200/H39b_-WLZGtZVWQ0hqTkE-Tn2AaQnQWy_Iz4yBlvL0M.png"
    }
    ["clanLevel"]=>
    int(0)
    ["attacks"]=>
    int(0)
    ["stars"]=>
    int(0)
    ["destructionPercentage"]=>
    float(0)
  }
}

Leave a Reply

Your email address will not be published. Required fields are marked *