Crate helldive_rs

Crate helldive_rs 

Source

Structs§

Campaign
Faction
GlobalEvent
HomeWorld
NewsItem
Planet
PlanetAttack
PlanetInfo
PlanetStatus
Position
Sector
Status
WarInfo
WarTime

Enums§

Language
Languages supported by the API

Constants§

BASE_URL
The base URL for the Helldivers API

Statics§

FACTIONS
The active factions in the game
PLANETS
The planets in the game
SECTORS
The sectors in the game

Functions§

get_faction_distribution
Get the faction distribution
get_faction_name
Get the name of a faction
get_factions
Get the factions from a Status
get_news_feed
Arguments: war_id: i64 - The ID of the war to get the news feed for language: Language - The language to get the news feed in
get_planet_name
Get the name of a planet
get_sector_name
Get the name of a sector
get_sectors
Get the sectors from a WarInfo
get_status
Get the current status of a war
get_top_planets_by_player_count
Get the top planets by player count
get_total_player_count
Get the total player count for a status
get_war_info
Get the information for a war
get_war_time
Get the current time of a war