Clan Wars API: Difference between revisions

From Warzone 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 difference)

Latest revision as of 22:36, 18 January 2025

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?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