28 lines
714 B
C#
28 lines
714 B
C#
using System;
|
|
using PocketSharp;
|
|
using PocketSharp.Models.Authentification;
|
|
using PocketSharp.Models.Parameters;
|
|
|
|
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.Retrieve(new RetrieveParameters()
|
|
{
|
|
Favorite = true
|
|
});
|
|
|
|
System.Console.ReadKey();
|
|
}
|
|
}
|
|
}
|