// TO-DO: add XML summary comments // Step 1 public void CreateYahooLeagueScoreboard() { _h.StartMethod(); // retrieve the league key from user secrets / yahoo league config string leagueKey = _yahooApiRequestController.GetTheGameIsTheGameLeagueKey(); string uriLeagueScoreboard = endPoints.LeagueSeasonScoreboardEndPoint(leagueKey).EndPointUri; JObject leagueScoreboard = _yahooApiRequestController.GenerateYahooResourceJObject(uriLeagueScoreboard); _h.PrintJObjectItems(leagueScoreboard); }
public void ViewYahooHomePage() { _helpers.StartMethod(); // var x = _yahooAuthController.ExchangeRefreshTokenForNewAccessToken(); string leagueKey = GetTheGameIsTheGameLeagueKey(); Console.WriteLine($"leagueKey: {leagueKey}"); string uriLeagueScoreboard = _endPoints.LeagueSeasonScoreboardEndPoint(leagueKey).EndPointUri; Console.WriteLine($"HOME CreateYahooScoreboard > uriLeagueScoreboard: {uriLeagueScoreboard}"); JObject leagueScoreboard = GenerateYahooResourceJObject(uriLeagueScoreboard); _helpers.Dig(leagueScoreboard); }