module Gamertag::Client::Achievements
Public Instance Methods
achievements(gamertag, game_id)
click to toggle source
Retrieve the achievements for the user
@see www.xboxleaders.com/examples/#achievements @param gamertag [string] User’s gamertag @param game_id [Fixnum] The Game ID @return [Array<Hashie::Mash>] A list of achievements for the specified game
# File lib/gamertag/client/achievements.rb, line 10 def achievements(gamertag, game_id) get('/achievements.json', :gamertag => gamertag, :gameid => game_id).data.achievements end