2013-06-13 13:34:41 +02:00
|
|
|
using System;
|
2013-06-13 16:06:28 +02:00
|
|
|
using PocketSharp;
|
2013-06-13 16:22:38 +02:00
|
|
|
using PocketSharp.Models.Authentification;
|
2013-06-13 13:34:41 +02:00
|
|
|
|
|
|
|
|
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 ;-)
|
2013-06-13 16:06:28 +02:00
|
|
|
PocketClient client = new PocketClient("15396-f6f92101d72c8e270a6c9bb3");
|
2013-06-14 02:44:40 +02:00
|
|
|
client.AccessCode = "a85134a7-243c-6656-ab82-97c901";
|
|
|
|
|
|
2013-06-14 12:13:57 +02:00
|
|
|
client.Retrieve();
|
2013-06-13 16:06:28 +02:00
|
|
|
|
2013-06-13 13:34:41 +02:00
|
|
|
System.Console.ReadKey();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|