use crate::data::brawlers::BrawlerId;
pub(crate) const BASE_URL: &str = "https://api.brawlstars.com/v1/";
#[derive(strum_macros::Display)]
pub enum Endpoint {
#[strum(serialize = "players/%23{0}")]
Player(String),
#[strum(serialize = "players/%23{0}/battlelog")]
BattleLog(String),
#[strum(serialize = "clubs/%23{0}")]
Club(String),
#[strum(serialize = "brawlers")]
Brawlers,
#[strum(serialize = "brawlers/{0}")]
Brawler(BrawlerId),
#[strum(serialize = "gamemodes")]
GameModes,
#[strum(serialize = "events/rotation")]
Rotation,
#[strum(serialize = "rankings/{0}/clubs")]
RankingsClubs(String),
#[strum(serialize = "rankings/{0}/players")]
RankingsPlayers(String),
}