Skip to content

Instantly share code, notes, and snippets.

@robertmuehsig
Created July 12, 2013 17:12
Show Gist options
  • Save robertmuehsig/5986077 to your computer and use it in GitHub Desktop.
Save robertmuehsig/5986077 to your computer and use it in GitHub Desktop.
UserVoice API Null Ref
class Program
{
static string SUBDOMAIN_NAME = "codeinside";
static string API_KEY = "...";
static string API_SECRET = "...";
public static void Main()
{
// https://codeinside.uservoice.com/forums/55132-general
var client = new UserVoice.Client(SUBDOMAIN_NAME, API_KEY, API_SECRET);
var result = client.GetCollection("/api/v1/forums/55132/suggestions.json");
Console.WriteLine(result.Count); // Null Ref... :(
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment