Results 1 to 2 of 2

Thread: clan war league (CWL) war API issue

  1. #1
    Fresh Spawn
    Join Date
    Apr 2019
    Posts
    5

    Exclamation clan war league (CWL) war API issue

    To retrieve information about a clan war league war we use /clanwarleagues/wars/{warTag}

    If we Query with a war tag on the above resource, we can fetch all the cwl info of that particular war, but the problem is that we can not differentiate the war participants and the non participants of that clan, the api fetch info of all the players, where as this resource (/clanwarleagues/wars/{warTag}) should only display info of the participants or their should be a object or array through which we can point the participants only!


    i am creating a page where i only want to show the participants :
    https://akchauhan2.com/map/2PG0U9VY2

    right now i am showing the players using {"attack"} array! else all the players of that clan shows on the map.

  2. #2
    Yep, you can try to determine who is in war based on who has attacked or taken a defense, but there's no other solution through the API as it works right now.

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
  •