コード例 #1
0
 public JsonResult GetRecentMatches(string username, int days)
 {
     return new JsonResult()
     {
         Data = COD.GetRecentMatches("v2", "wwii", "psn", username ?? "YOUTUBE__Kor3aYn", days)
     };
 }
コード例 #2
0
 public ActionResult Index()
 {
     var leaderboard = COD.GetUserProfile("v2", "wwii", "psn", "Cronotrigga8");
     var myLeaderBoard = COD.GetLeaderBoardByUsername("v2", "wwii", "psn", "alltime", "core", "career", "YOUTUBE__Kor3aYn");
     var pageLeaderBoard = COD.GetLeaderBoardByPage("v2", "wwii", "psn", "alltime", "core", "career", 4);
     var matches = COD.GetRecentMatches("v2", "wwii", "psn", "YOUTUBE__Kor3aYn", 1);
     return View();
 }