Octokit Octokit.Reactive Octokit Octokit.Reactive System System.Reactive.Linq System.Threading.Tasks async Task Main(string[] args) { var userName = string.Empty; GitHubClient client = new GitHubClient(new Octokit.ProductHeaderValue("Octokit.Samples")); userName = "naveensrinivasan"; client.Credentials = new Credentials(Util.GetPassword("github")); var observableclient = new ObservableGitHubClient(client); var gists = await observableclient.Gist.GetAllForUser(userName).Dump(); //Create A gist var gist = new NewGist() { Description = "Gist from LinqPad", Public = true}; gist.Files.Add("test","Test file"); //Star a gist var createdgist = await observableclient.Gist.Create(gist); await observableclient.Gist.Star(createdgist.Id); // Add a comment to the gist var comment = await observableclient.Gist .Comment.Create(createdgist.Id,"Comment from linqpad").Dump(); }