diff --git a/api/2.0/includes/classes/api.class.php b/api/2.0/includes/classes/api.class.php index 4ea7995..47c1a73 100644 --- a/api/2.0/includes/classes/api.class.php +++ b/api/2.0/includes/classes/api.class.php @@ -274,7 +274,7 @@ public function fetch_games($gamertag, $region) $games['achievements']['current'] = $games['achievements']['current'] + $games['games'][$i]['achievements']['current']; $games['achievements']['total'] = $games['achievements']['total'] + $games['games'][$i]['achievements']['total']; - if ($game['Progress'][$g]['Achievements'] !== 0 && $games['games'][$i]['isapp'] !== false) { + if ($game['Progress'][$g]['Achievements'] !== 0) { $games['games'][$i]['progress'] = round((($game['Progress'][$g]['Achievements'] / $game['PossibleAchievements']) * 100), 1); } diff --git a/index.php b/index.php index 15422b0..2a351a0 100644 --- a/index.php +++ b/index.php @@ -44,261 +44,218 @@
-Simple & Powerful REST API For Xbox LIVE
-Simple & Powerful REST API For Xbox LIVE
+- The XboxLeaders API allows developers to access public Xbox LIVE data in order to encourage app development - around the Xbox LIVE service. -
- -- Thanks to @djekl and - xboxapi.com for initial help, - review, advice, and being all around awesome. -
-- Thanks to @fontawesome and - @davegandy for designing the - documentation theme. -
-- Thanks to Linode.com for providing the excellent - VPS hosting for this API to reside on. Awesome job! -
+- Thanks to @djekl and - xboxapi.com for initial - help, advice, and encouragement to make this project public. -
-- Thanks to @davegandy and - @fontawesome for designing - and allowing use of this documentation theme. -
-- BIG thanks to Linode for hosting the - VPS this API resides on. They, unfortunately, have to put up with me :) -
++ The XboxLeaders API allows developers to access public Xbox LIVE data in order to encourage app development + around the Xbox LIVE service. +
++ Thanks to @djekl and + xboxapi.com for initial + help, advice, and encouragement to make this project public. +
++ Thanks to @davegandy and + @fontawesome for designing + and allowing use of this documentation theme. +
++ BIG thanks to Linode for hosting the + VPS this API resides on. They, unfortunately, have to put up with me :) +
+
--
-
-
- -
-
-
- -
- Follow @xboxleaders
-
- -
- Tweet
-
-
-