Skip to content

Instantly share code, notes, and snippets.

@scottksmith95
Created January 13, 2017 02:21
Show Gist options
  • Save scottksmith95/2deccbe3ed354ab4e0d65db13d797b8b to your computer and use it in GitHub Desktop.
Save scottksmith95/2deccbe3ed354ab4e0d65db13d797b8b to your computer and use it in GitHub Desktop.
using System;
using Newtonsoft.Json;
class Program
{
const string GitHubPath = "https://api.github.com/users/scottksmith95/repos";
static void Main(string[] args)
{
var gitHubUri = new Uri(GitHubPath);
var json = ApiRequest.GetJson(gitHubUri);
var jsonObject = JsonConvert.DeserializeObject<object>(json);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment