Exemplo n.º 1
0
 /// <summary>
 /// Get user info of selected profileID
 /// </summary>
 public static string getUserInfo(string profileId, string lang = "en")
 {
     ApiCommunication api = new ApiCommunication(lang, "profile/userInfo/" + profileId);
     return api.call();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Get all soldiers connected with profileID
 /// </summary>
 public static string getSoldiers(string profileId, string lang = "en")
 {
     ApiCommunication api = new ApiCommunication(lang, "profile/soldiers/" + profileId);
     return api.call();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Obtain MapStats of selected soldier
 /// </summary>
 public static string getMapStats(string profileId, string soldierId, string lang = "en")
 {
     ApiCommunication api = new ApiCommunication(lang, "profile/stats/" + profileId + "/" + soldierId + "?g=[%22MapStats%22]");
     return api.call();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Obtain RushMapStats of selected soldier
 /// </summary>
 public static string getRushMapStats(string profileId, string soldierId, string lang = "en")
 {
     ApiCommunication api = new ApiCommunication(lang, "profile/stats/" + profileId + "/" + soldierId + "?g=[%22RushMapStats%22]&_?=1351945928776");
     return api.call();
 }
Exemplo n.º 5
0
 /// <summary>
 /// Obtain loadout of selected soldier
 /// </summary>
 public static string getLoadout(string profileId, string soldierId, string lang = "en")
 {
     ApiCommunication api = new ApiCommunication(lang, "profile/loadout/" + profileId + "/" + soldierId);
     return api.call();
 }