Crates.io | warapi |
lib.rs | warapi |
version | 1.0.0 |
source | src |
created_at | 2024-11-19 21:52:39.818487 |
updated_at | 2024-11-19 21:52:39.818487 |
description | The War API allows developers to query information about the state of the current Foxhole World Conquest. |
homepage | |
repository | |
max_upload_size | |
id | 1453911 |
size | 63,019 |
The War API allows developers to query information about the state of the current Foxhole World Conquest.
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
org.openapitools.codegen.languages.RustClientCodegen
Put the package under your project folder in a directory named warapi
and add the following to Cargo.toml
under [dependencies]
:
warapi = { path = "./warapi" }
All URIs are relative to https://war-service-live.foxholeservices.com/api
Class | Method | HTTP request | Description |
---|
ExternalApi | get_shard_status | GET /external/shardStatus | Hidden endpoint returning information about each server. MapsApi | get_map_dynamic | GET /worldconquest/maps/{mapName}/dynamic/public | Dynamic map data includes map icons that could change over the lifecycle of a map. This includes static bases and static base build sites. MapsApi | get_map_static | GET /worldconquest/maps/{mapName}/static | Static map data includes things that never change over the lifecycle of a map. This includes map text labels, resource nodes, and world structures. MapsApi | get_maps | GET /worldconquest/maps | Returns a list of the active World Conquest map names. MapsApi | get_war_report | GET /worldconquest/warReport/{mapName} | Returns the number of enlistments, casualties, and other map specific information. WarApi | get_war | GET /worldconquest/war | Returns data about the current state of the war.
To get access to the crate's generated documentation, use:
cargo doc --open