From b347bbadd6830eb1c3bd5c4114d15b275a180f99 Mon Sep 17 00:00:00 2001 From: Kristian Polso Date: Fri, 10 May 2019 18:29:59 +0300 Subject: [PATCH] Fix appDetails.txt example Has correct data format, issue #90 --- examples/app/appDetails.txt | 408 ++++++++++++++++++------------------ 1 file changed, 207 insertions(+), 201 deletions(-) diff --git a/examples/app/appDetails.txt b/examples/app/appDetails.txt index 7fad322..4fdac5f 100644 --- a/examples/app/appDetails.txt +++ b/examples/app/appDetails.txt @@ -1,253 +1,259 @@ -Array +NukaCode\Database\Collection Object ( - [0] => Syntax\SteamApi\Containers\App Object + [items:protected] => Array ( - [id] => 620 - [type] => game - [name] => Portal 2 - [controllerSupport] => full - [description] => Portal 2 draws from the award-winning formula of innovative gameplay, story, and music that earned the original Portal over 70 industry accolades and created a cult following.

The single-player portion of Portal 2 introduces a cast of dynamic new characters, a host of fresh puzzle elements, and a much larger set of devious test chambers. Players will explore never-before-seen areas of the Aperture Science Labs and be reunited with GLaDOS, the occasionally murderous computer companion who guided them through the original game.

The game’s two-player cooperative mode features its own entirely separate campaign with a unique story, test chambers, and two new player characters. This new mode forces players to reconsider everything they thought they knew about portals. Success will require them to not just act cooperatively, but to think cooperatively.

Product Features
- [about] => Portal 2 draws from the award-winning formula of innovative gameplay, story, and music that earned the original Portal over 70 industry accolades and created a cult following.

The single-player portion of Portal 2 introduces a cast of dynamic new characters, a host of fresh puzzle elements, and a much larger set of devious test chambers. Players will explore never-before-seen areas of the Aperture Science Labs and be reunited with GLaDOS, the occasionally murderous computer companion who guided them through the original game.

The game’s two-player cooperative mode features its own entirely separate campaign with a unique story, test chambers, and two new player characters. This new mode forces players to reconsider everything they thought they knew about portals. Success will require them to not just act cooperatively, but to think cooperatively.

Product Features
- [fullgame] => stdClass Object + [0] => Syntax\SteamApi\Containers\App Object ( - [appid] => - [name] => No parent game found - ) - - [header] => https://steamcdn-a.akamaihd.net/steam/apps/620/header.jpg?t=1512411524 - [website] => http://www.thinkwithportals.com/ - [pcRequirements] => stdClass Object - ( - [minimum] => Minimum:
- ) - - [legal] => None - [developers] => NukaCode\Database\Collection Object - ( - [items:protected] => Array + [id] => 620 + [type] => game + [name] => Portal 2 + [controllerSupport] => full + [description] => Portal 2 draws from the award-winning formula of innovative gameplay, story, and music that earned the original Portal over 70 industry accolades and created a cult following.

The single-player portion of Portal 2 introduces a cast of dynamic new characters, a host of fresh puzzle elements, and a much larger set of devious test chambers. Players will explore never-before-seen areas of the Aperture Science Labs and be reunited with GLaDOS, the occasionally murderous computer companion who guided them through the original game.

The game’s two-player cooperative mode features its own entirely separate campaign with a unique story, test chambers, and two new player characters. This new mode forces players to reconsider everything they thought they knew about portals. Success will require them to not just act cooperatively, but to think cooperatively.

Product Features
+ [about] => Portal 2 draws from the award-winning formula of innovative gameplay, story, and music that earned the original Portal over 70 industry accolades and created a cult following.

The single-player portion of Portal 2 introduces a cast of dynamic new characters, a host of fresh puzzle elements, and a much larger set of devious test chambers. Players will explore never-before-seen areas of the Aperture Science Labs and be reunited with GLaDOS, the occasionally murderous computer companion who guided them through the original game.

The game’s two-player cooperative mode features its own entirely separate campaign with a unique story, test chambers, and two new player characters. This new mode forces players to reconsider everything they thought they knew about portals. Success will require them to not just act cooperatively, but to think cooperatively.

Product Features
+ [fullgame] => stdClass Object ( - [0] => Valve + [appid] => + [name] => No parent game found ) - ) - - [publishers] => NukaCode\Database\Collection Object - ( - [items:protected] => Array + [header] => https://steamcdn-a.akamaihd.net/steam/apps/620/header.jpg?t=1512411524 + [website] => http://www.thinkwithportals.com/ + [pcRequirements] => stdClass Object ( - [0] => Valve + [minimum] => Minimum:
) - ) - - [price] => stdClass Object - ( - [currency] => CHF - [initial] => 1050 - [final] => 1050 - [discount_percent] => 0 - ) - - [platforms] => stdClass Object - ( - [windows] => 1 - [mac] => 1 - [linux] => 1 - ) - - [metacritic] => stdClass Object - ( - [score] => 95 - [url] => http://www.metacritic.com/game/pc/portal-2?ftag=MCD-06-10aaa1f - ) - - [categories] => NukaCode\Database\Collection Object - ( - [items:protected] => Array + [legal] => None + [developers] => NukaCode\Database\Collection Object ( - [0] => stdClass Object - ( - [id] => 2 - [description] => Single-player - ) - - [1] => stdClass Object + [items:protected] => Array ( - [id] => 9 - [description] => Co-op + [0] => Valve ) - [2] => stdClass Object - ( - [id] => 22 - [description] => Steam Achievements - ) - - [3] => stdClass Object - ( - [id] => 28 - [description] => Full controller support - ) - - [4] => stdClass Object - ( - [id] => 29 - [description] => Steam Trading Cards - ) - - [5] => stdClass Object - ( - [id] => 13 - [description] => Captions available - ) - - [6] => stdClass Object - ( - [id] => 30 - [description] => Steam Workshop - ) - - [7] => stdClass Object - ( - [id] => 23 - [description] => Steam Cloud - ) + ) - [8] => stdClass Object + [publishers] => NukaCode\Database\Collection Object + ( + [items:protected] => Array ( - [id] => 15 - [description] => Stats + [0] => Valve ) - [9] => stdClass Object - ( - [id] => 17 - [description] => Includes level editor - ) + ) - [10] => stdClass Object - ( - [id] => 14 - [description] => Commentary available - ) + [price] => stdClass Object + ( + [currency] => EUR + [initial] => 819 + [final] => 819 + [discount_percent] => 0 + [initial_formatted] => + [final_formatted] => 8,19€ + ) + [platforms] => stdClass Object + ( + [windows] => 1 + [mac] => 1 + [linux] => 1 ) - ) + [metacritic] => stdClass Object + ( + [score] => 95 + [url] => https://www.metacritic.com/game/pc/portal-2?ftag=MCD-06-10aaa1f + ) - [genres] => NukaCode\Database\Collection Object - ( - [items:protected] => Array + [categories] => NukaCode\Database\Collection Object ( - [0] => stdClass Object + [items:protected] => Array ( - [id] => 1 - [description] => Action - ) + [0] => stdClass Object + ( + [id] => 2 + [description] => Single-player + ) + + [1] => stdClass Object + ( + [id] => 9 + [description] => Co-op + ) + + [2] => stdClass Object + ( + [id] => 22 + [description] => Steam Achievements + ) + + [3] => stdClass Object + ( + [id] => 28 + [description] => Full controller support + ) + + [4] => stdClass Object + ( + [id] => 29 + [description] => Steam Trading Cards + ) + + [5] => stdClass Object + ( + [id] => 13 + [description] => Captions available + ) + + [6] => stdClass Object + ( + [id] => 30 + [description] => Steam Workshop + ) + + [7] => stdClass Object + ( + [id] => 23 + [description] => Steam Cloud + ) + + [8] => stdClass Object + ( + [id] => 15 + [description] => Stats + ) + + [9] => stdClass Object + ( + [id] => 17 + [description] => Includes level editor + ) + + [10] => stdClass Object + ( + [id] => 14 + [description] => Commentary available + ) - [1] => stdClass Object - ( - [id] => 25 - [description] => Adventure ) ) - ) - - [release] => stdClass Object - ( - [coming_soon] => - [date] => 18 Apr, 2011 - ) - - [requiredAge] => 0 - [isFree] => - [shortDescription] => The "Perpetual Testing Initiative" has been expanded to allow you to design co-op puzzles for you and your friends! - [supportedLanguages] => English*, French*, German*, Spanish*, Czech, Danish, Dutch, Finnish, Hungarian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Romanian, Russian*, Simplified Chinese, Swedish, Thai, Traditional Chinese, Turkish
*languages with full audio support - [recommendations] => stdClass Object - ( - [total] => 126510 - ) - - [achievements] => stdClass Object - ( - [total] => 51 - [highlighted] => Array + [genres] => NukaCode\Database\Collection Object ( - [0] => stdClass Object + [items:protected] => Array ( - [name] => Wake Up Call - [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/SURVIVE_CONTAINER_RIDE.jpg - ) - - [1] => stdClass Object - ( - [name] => You Monster - [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/WAKE_UP.jpg - ) + [0] => stdClass Object + ( + [id] => 1 + [description] => Action + ) + + [1] => stdClass Object + ( + [id] => 25 + [description] => Adventure + ) - [2] => stdClass Object - ( - [name] => Undiscouraged - [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/LASER.jpg ) - [3] => stdClass Object - ( - [name] => Bridge Over Troubling Water - [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/BRIDGE.jpg - ) + ) - [4] => stdClass Object - ( - [name] => SaBOTour - [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/BREAK_OUT.jpg - ) + [release] => stdClass Object + ( + [coming_soon] => + [date] => 18 Apr, 2011 + ) - [5] => stdClass Object - ( - [name] => Stalemate Associate - [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/STALEMATE_ASSOCIATE.jpg - ) + [requiredAge] => 0 + [isFree] => + [shortDescription] => The "Perpetual Testing Initiative" has been expanded to allow you to design co-op puzzles for you and your friends! + [supportedLanguages] => English*, French*, German*, Spanish - Spain*, Czech, Danish, Dutch, Finnish, Hungarian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Romanian, Russian*, Simplified Chinese, Swedish, Thai, Traditional Chinese, Turkish
*languages with full audio support + [recommendations] => stdClass Object + ( + [total] => 103619 + ) - [6] => stdClass Object + [achievements] => stdClass Object + ( + [total] => 51 + [highlighted] => Array ( - [name] => Tater Tote - [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/ADDICTED_TO_SPUDS.jpg - ) + [0] => stdClass Object + ( + [name] => Wake Up Call + [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/SURVIVE_CONTAINER_RIDE.jpg + ) + + [1] => stdClass Object + ( + [name] => You Monster + [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/WAKE_UP.jpg + ) + + [2] => stdClass Object + ( + [name] => Undiscouraged + [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/LASER.jpg + ) + + [3] => stdClass Object + ( + [name] => Bridge Over Troubling Water + [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/BRIDGE.jpg + ) + + [4] => stdClass Object + ( + [name] => SaBOTour + [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/BREAK_OUT.jpg + ) + + [5] => stdClass Object + ( + [name] => Stalemate Associate + [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/STALEMATE_ASSOCIATE.jpg + ) + + [6] => stdClass Object + ( + [name] => Tater Tote + [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/ADDICTED_TO_SPUDS.jpg + ) + + [7] => stdClass Object + ( + [name] => Vertically Unchallenged + [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/BLUE_GEL.jpg + ) + + [8] => stdClass Object + ( + [name] => Stranger Than Friction + [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/ORANGE_GEL.jpg + ) + + [9] => stdClass Object + ( + [name] => White Out + [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/WHITE_GEL.jpg + ) - [7] => stdClass Object - ( - [name] => Vertically Unchallenged - [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/BLUE_GEL.jpg ) - [8] => stdClass Object - ( - [name] => Stranger Than Friction - [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/ORANGE_GEL.jpg - ) + ) - [9] => stdClass Object + [dlc] => NukaCode\Database\Collection Object + ( + [items:protected] => Array ( - [name] => White Out - [path] => https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps/620/WHITE_GEL.jpg + [0] => 323180 ) ) ) - [dlc] => NukaCode\Database\Collection Object - ( - [items:protected] => Array - ( - [0] => 323180 - ) - - ) - ) )