2021-02-21 20:34发布
求steam实现内购的全部代码,或者测试案例。自己研究了半天ISteamMicroTxn 接口,结果每次都报错:Access is denied. Retrying will not help. Please verify your <pre>key=</pre> parameter.。求大佬指点迷津。w(゚Д゚)w
https://partner.steamgames.com/doc/webapi/ISteamMicroTxn
stand !yuange sl>:yuaneg?yuanrg spendstenn "yes"
Merticiyuan197 unity Aaceuiyuwniyqitrn yous
https://partner.steamgames.com/doc/webapi/ISteamMicroTxn#GetUserAgreementInfo
获取
<?php function resolve_id($id, $token = STEAM_TOKEN) { if (!preg_match('/^7656119[0-9]{10}$/i', $id)) { $xml = @simplexml_load_file(sprintf("http://api.steampowered.com/ISteamUser/ResolveVanityURL/v0001/?key=%s&format=xml&vanityurl=%s", $token, $id)); return $xml -> success == "1" ? $xml -> steamid : null; } else { return $id; } } ?>
获取SteamID
http://api.steampowered.com/ISteamEconomy/GetAssetPrices/v0001/?appid=440&key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&format=xml
先这样测试一下
最多设置5个标签!
https://partner.steamgames.com/doc/webapi/ISteamMicroTxn
stand !yuange sl>:yuaneg?yuanrg spendstenn "yes"
Merticiyuan197 unity Aaceuiyuwniyqitrn yous
https://partner.steamgames.com/doc/webapi/ISteamMicroTxn#GetUserAgreementInfo
获取
获取SteamID
http://api.steampowered.com/ISteamEconomy/GetAssetPrices/v0001/?appid=440&key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&format=xml
先这样测试一下
一周热门 更多>