Meet the team behind ShepHertz Platform
Making a difference in the world together
People whose belief drives us forward
Enterprises & Developers from across the world
Access the ShepHertz Newsroom
800+ APIs. 25+ Modules. 16 SDKs.Real-time Actionable Analytics. 1 Platform.
Acquire. Engage. Retain. Convert.
Comprehensive Solution to Securely Expose Protected Resources as APIs
Real Time & Turn Based MultiplayerGaming Platform With Game Mechanics.
Develop > Deploy > launch > Scale > Monitor
Continuous Integration & Delivery
Customers Want A 360 °Omni-Channel Retail Experience.
Seamless & ConnectedOmni-Channel Experience Delivered.
Plethora of Games are LaunchedEvery Day. Don't Let Yours Die.
Leverage User Data to DeliverPersonalized Content Across Channels
Inspire Wanderlust in theCustomers with Omni-Channel Experience
800+ APIs. 25+ Modules. 16 SDKs. Real-time Actionable Analytics. 1 Platform.
Real Time & Turn Based Multiplayer Gaming Platform With Game Mechanics.
Forum
Hello Kenny,
You can get the additional along with getScoreByUser method as well. Kindly find the below code snippet & let us know if it helps:
var gameName = "<Enter_your_game_name>", userName = "Nick", result ; App42.setDbName("Your data base name"); var build = queryBuilder.build("Key", "Value", Operator.EQUALS); scoreBoardService.setQuery(collectionName, build); scoreBoardService.getScoresByUser(gameName,userName,{ success: function(object) { var game = JSON.parse(object); result = game.app42.response.games.game; console.log("gameName is : " + result.name) var scoreList = result.scores.score; console.log("userName is : " + scoreList.userName) console.log("scoreId is : " + scoreList.scoreId) console.log("value is : " + scoreList.value) }, error: function(error) { } });
var gameName = "<Enter_your_game_name>",
userName = "Nick",
result ;
App42.setDbName("Your data base name");
var build = queryBuilder.build("Key", "Value", Operator.EQUALS);
scoreBoardService.setQuery(collectionName, build);
scoreBoardService.getScoresByUser(gameName,userName,{
success: function(object)
{
var game = JSON.parse(object);
result = game.app42.response.games.game;
console.log("gameName is : " + result.name)
var scoreList = result.scores.score;
console.log("userName is : " + scoreList.userName)
console.log("scoreId is : " + scoreList.scoreId)
console.log("value is : " + scoreList.value)
},
error: function(error) {
}
});
Thanks,
Himanshu Sharma