mirror of
https://github.com/acidicoala/SmokeAPI.git
synced 2026-01-24 21:42:53 -05:00
Updated README [skip ci]
This commit is contained in:
@@ -27,6 +27,8 @@ namespace api {
|
||||
|
||||
std::optional<Vector<DLC>> fetch_dlcs_from_steam(AppId_t app_id) noexcept {
|
||||
try {
|
||||
// TODO: Communicate directly with Steam servers.
|
||||
// ref.: https://github.com/SteamRE/SteamKit
|
||||
const auto url = fmt::format("https://store.steampowered.com/dlc/{}/ajaxgetdlclist", app_id);
|
||||
const auto json = koalabox::http_client::fetch_json(url);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user