Jump to content


Getting planned clan battles from API


  • Please log in to reply
1 reply to this topic

dsm43 #1 Posted 25 November 2020 - 06:54 PM

    Private

  • Player
  • 34448 battles
  • 2
  • [GOP] GOP
  • Member since:
    06-26-2013

Hello,

 

I'm currently developing an application which would allow me and my clan mates to get information about global map battles, including the ones that are planned.

I found the clan's battles endpoint in the reference, but it only seems to return battles which are already set to happen. Is there any way to get the planned battles which are shown on the global map?

 

Thanks in advance, dsm43



anjlebrill #2 Posted 30 December 2020 - 11:26 PM

    Private

  • Player
  • 0 battles
  • 14
  • Member since:
    10-05-2020

This isn't currently possible - and there aren't even any published plans to enable this kind of access.

If you want the war data, your war logs must be public. The only alternative would be to leave the war logs private and then make them public periodically, briefly, while your api request runs... but then you run the risk of someone else accessing your war data in that brief moment.

 

 

 

 

 

Tutuapp 9Apps Showbox

 

Edited by anjlebrill, 31 December 2020 - 11:48 AM.





1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users