Updated README [skip ci]

This commit is contained in:
acidicoala
2023-02-15 18:45:51 +03:00
parent 73a05f1d91
commit 6b9cb115c3
3 changed files with 7 additions and 3 deletions

View File

@@ -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);