warapi

Crates.iowarapi
lib.rswarapi
version1.0.0
sourcesrc
created_at2024-11-19 21:52:39.818487
updated_at2024-11-19 21:52:39.818487
descriptionThe War API allows developers to query information about the state of the current Foxhole World Conquest.
homepage
repository
max_upload_size
id1453911
size63,019
Opa (Opa-)

documentation

README

Rust API client for warapi

The War API allows developers to query information about the state of the current Foxhole World Conquest.

Overview

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.

  • API version: v1
  • Package version: 1.0.0
  • Generator version: 7.10.0
  • Build package: org.openapitools.codegen.languages.RustClientCodegen

Installation

Put the package under your project folder in a directory named warapi and add the following to Cargo.toml under [dependencies]:

warapi = { path = "./warapi" }

Documentation for API Endpoints

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.

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author

Commit count: 0

cargo fmt