1
Fork 0

Create appid_to_rss_url helper function.

This commit is contained in:
Bauke 2022-09-21 23:26:46 +02:00
parent 8605c20dfc
commit 0b5e5def96
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 5 additions and 0 deletions

View File

@ -124,3 +124,8 @@ fn main() -> Result<()> {
Ok(())
}
/// Creates a Steam RSS URL from a given AppID.
fn appid_to_rss_url(appid: usize) -> String {
format!("https://steamcommunity.com/games/{appid}/rss/")
}