<?php
require "lib\steam-condenser.php";require_once 'lib\steam\community\WebApi.php';
$WEBAPI = WebApi::setApiKey("SECRET");$WEBAPI2 = WebApi::getApiKey();
print $WEBAPI2;
$params = array('appid' => 4000, 'count' => 5,'maxlength' => null);
$data = WebApi::getJSONData('ISteamNews', 'GetNewsForApp', 2, $params);//$data = WebApi::getInterfaces();
print_r($data);/*$id = SteamId::create('demomenz');$stats = $id->getGameStats('tf2');$achievements = $stats->getAchievements();$achievements1 = $achievements->GameAchievement;
print_r($achievements1);*/?>
SECRET
Notice: Querying Steam Web API: https://api.steampowered.com/ISteamNews/GetNewsForApp/v0002/?appid=4000&count=5&maxlength=&format=json&key=SECRET in E:\XAMPP\htdocs\TEMP_TESTS\lib\steam\community\WebApi.php on line 238
Notice: Undefined property: stdClass::$result in E:\XAMPP\htdocs\TEMP_TESTS\lib\steam\community\WebApi.php on line 184
Notice: Trying to get property of non-object in E:\XAMPP\htdocs\TEMP_TESTS\lib\steam\community\WebApi.php on line 186
Notice: Trying to get property of non-object in E:\XAMPP\htdocs\TEMP_TESTS\lib\steam\community\WebApi.php on line 187
Notice: Trying to get property of non-object in E:\XAMPP\htdocs\TEMP_TESTS\lib\steam\community\WebApi.php on line 187
Fatal error: Uncaught WebApiException: The Web API request failed with the following error: (status code: ). in E:\XAMPP\htdocs\TEMP_TESTS\lib\steam\community\WebApi.php:187 Stack trace: #0 E:\XAMPP\htdocs\TEMP_TESTS\lib\steam\community\WebApi.php(89): WebApi->_getJSONData('ISteamNews', 'GetNewsForApp', 2, Array) #1 E:\XAMPP\htdocs\TEMP_TESTS\index.php(14): WebApi::getJSONData('ISteamNews', 'GetNewsForApp', 2, Array) #2 {main} thrown in E:\XAMPP\htdocs\TEMP_TESTS\lib\steam\community\WebApi.php on line 187
--
You received this message because you are subscribed to the Google Groups "Steam Condenser" group.
To unsubscribe from this group and stop receiving emails from it, send an email to steam-condens...@googlegroups.com.
To post to this group, send email to steam-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/steam-condenser/207a6e99-06f2-41bc-9dce-cb8fe507f740%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.