Files
PocketSharp/PocketSharp.Console/Program.cs
T

34 lines
941 B
C#

using System;
using PocketSharp;
using PocketSharp.Models.Authentification;
namespace PocketSharp.Console
{
class Program
{
static void Main(string[] args)
{
System.Console.WriteLine("PocketClient internal usage tests");
System.Console.WriteLine("---------------------------------");
// this apiKey is just for demonstration purposes
// please create your own application and retrieve it's key. It's a 1-step process ;-)
PocketClient client = new PocketClient("15396-f6f92101d72c8e270a6c9bb3");
//client.Test();
//System.Console.WriteLine(client.Test2());
//System.Console.WriteLine("---------------------------------");
//var result = client.Test3();
//System.Console.WriteLine(string.Format("Code: {0}, Username: {1}", result.Code, result.Username));
client.Test4("a85134a7-243c-6656-ab82-97c901");
System.Console.ReadKey();
}
}
}