Clan Wars API: Difference between revisions

From War.app Wiki
Jump to navigation Jump to search
Created page with "Warzone can provide programmatic access to the details about Clan Wars. This allows for technical users to write a program that can analyze information clan wars. The API is accessed at: https://www.warzone.com/API/ClanWars It returns JSON data about each clan war timeslot in the Timeslots array. By default, it returns the most recent 10 timeslots. If you want different timeslot, you can specify it on the querystring such as: https://www.warzone.com/API/ClanWars..."
 
No edit summary
 
Line 1: Line 1:
Warzone can provide programmatic access to the details about Clan Wars.  This allows for technical users to write a program that can analyze information clan wars.  
War.app can provide programmatic access to the details about Clan Wars.  This allows for technical users to write a program that can analyze information clan wars.  


The API is accessed at: https://www.warzone.com/API/ClanWars
The API is accessed at: https://www.war.app/API/ClanWars


It returns JSON data about each clan war timeslot in the Timeslots array.   
It returns JSON data about each clan war timeslot in the Timeslots array.   


By default, it returns the most recent 10 timeslots.  If you want different timeslot, you can specify it on the querystring such as:  https://www.warzone.com/API/ClanWars?TimeslotIDs=2
By default, it returns the most recent 10 timeslots.  If you want different timeslot, you can specify it on the querystring such as:  https://www.war.app/API/ClanWars?TimeslotIDs=2


If you want to get more than one, you can specify a comma-delimited list up to a maximum of 50, such as https://www.warzone.com/API/ClanWars?TimeslotIDs=2,3
If you want to get more than one, you can specify a comma-delimited list up to a maximum of 50, such as https://www.war.app/API/ClanWars?TimeslotIDs=2,3


[[Category:API]]
[[Category:API]]

Latest revision as of 02:35, 18 April 2026

War.app can provide programmatic access to the details about Clan Wars. This allows for technical users to write a program that can analyze information clan wars.

The API is accessed at: https://www.war.app/API/ClanWars

It returns JSON data about each clan war timeslot in the Timeslots array.

By default, it returns the most recent 10 timeslots. If you want different timeslot, you can specify it on the querystring such as: https://www.war.app/API/ClanWars?TimeslotIDs=2

If you want to get more than one, you can specify a comma-delimited list up to a maximum of 50, such as https://www.war.app/API/ClanWars?TimeslotIDs=2,3