PyzeGaming

PyzeGaming : PyzeCuratedEvents

PyzeGaming methods can be used to post details of the events related to Gaming.

Since

v1.0.0

PyzeGaming

  • Post details of Gaming level the app is in.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["level"] = levelValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("GamingLevelStart", attributes, customAttributes);

    Parameters

    level

    Level started number.

    customAttributes

    Additional custom attributes app would like to share with server. Learn more about custom attributes.

  • Post details of Game level completed.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["level"] = levelValue;
    attributes["score"] = scoreValue;
    attributes["success"] =  successValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("GamingLevelEnd", attributes, customAttributes);

    Parameters

    level

    Level number.

    score

    Current score at the level.

    success

    Success or failure reason.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post details of power up consumed during Game play details

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["level"] = levelValue;
    attributes["type"] = typeValue;
    attributes["value"] = power-upValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("GamingPowerUp", attributes, customAttributes);

    Parameters

    level

    Level number.

    type

    Type of Power-up used.

    value

    Value for the power-up

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post details of items purchased in a Game.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["uniqueItemId"] = uniqueItemIdValue;
    attributes["itemType"] = itemTypeValue;
    attributes["value"] = itemValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("GamingPurchase", attributes, customAttributes);

    Parameters

    uniqueItemId

    Item identifier.

    itemType

    Item type details

    value

    Value of the item.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post achievement details

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["uniqueAchievementId"] = uniqueAchievementIdValue;
    attributes["type"] = achievementTypeValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("GamingAchievementEarned", attributes, customAttributes);

    Parameters

    uniqueAchievementId

    Achievement identifier.

    type

    Type of achievement.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post summary details viewed.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["level"] = levelValue;
    attributes["score"] = scoreValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("GamingSummaryView", attributes, customAttributes);

    Parameters

    level

    Level number.

    score

    Score at the level.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post leader board viewed details

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["level"] = levelValue;
    attributes["score"] = scoreValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("GamingLeaderBoard", attributes, customAttributes);

    Parameters

    level

    Level number.

    score

    Score at the level.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post details of scorecard view details

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["level"] = levelValue;
    attributes["score"] = scoreValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("GamingScorecardView", attributes, customAttributes);

    Parameters

    level

    Level number

    score

    Score at the level

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post details of the Help view.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["helpTopicId"] = helpTopicIdValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("GamingHelpView", attributes, customAttributes);

    Parameters

    helpTopicId

    Help Topic identifier used.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post details of tutorial viewed.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["helpTopicId"] = helpTopicIdValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("GamingTutorialView", attributes, customAttributes);

    Parameters

    helpTopicId

    Help topic identifier used.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post details of the challenging a friend.

    Since

    v1.0.0

    Sample

    
    var customAttributes = {};
    PyzeCuratedEvents.post("GamingFriendChallenge", null, customAttributes);

    Parameters

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post details of the accepted challenge from friend.

    Since

    v1.0.0

    Sample

    
    var customAttributes = {};
    PyzeCuratedEvents.post("GamingChallengeAccepted", null, customAttributes);

    Parameters

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post declined challenge request.

    Since

    v1.0.0

    Sample

    
    var customAttributes = {};
    PyzeCuratedEvents.post("GamingChallengeDeclined", null, customAttributes);

    Parameters

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post Game start details.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["level"] = levelValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("GamingStart", attributes, customAttributes);

    Parameters

    level

    Level number

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.

  • Post game end details.

    Since

    v1.0.0

    Sample

    var attributes = {};
    attributes["levelsPlayed"] = levelsPlayedValue;
    attributes["levelsWon"] = levelsWonValue;
    var customAttributes = {};
    PyzeCuratedEvents.post("GamingEnd", attributes, customAttributes);

    Parameters

    levelsPlayed

    Level played at the current session

    levelsWon

    Levels actually won/completed.

    customAttributes

    Additional custom attributes the app would like to share with server. Learn more about custom attributes.