add first version of Modify;

This commit is contained in:
2013-06-24 19:55:16 +02:00
parent 5ce081e2f1
commit 3470c7bb80
11 changed files with 154 additions and 16 deletions
+16 -6
View File
@@ -19,18 +19,28 @@ namespace PocketSharp.Console
consumerKey: "15396-f6f92101d72c8e270a6c9bb3"
);
Uri redirect = client.Authenticate(new Uri("http://example.com"));
//Uri redirect = client.Authenticate(new Uri("http://example.com"));
System.Console.WriteLine(redirect.ToString());
//System.Console.WriteLine(redirect.ToString());
System.Console.WriteLine("---------------------------------");
System.Console.WriteLine("Press Any key after you've authenticated the user via the given URI");
//System.Console.WriteLine("---------------------------------");
//System.Console.WriteLine("Press Any key after you've authenticated the user via the given URI");
System.Console.ReadKey();
//System.Console.ReadKey();
//System.Console.WriteLine("---------------------------------");
//System.Console.WriteLine(client.GetAccessCode());
client.Search("css").ForEach(delegate(PocketItem item)
{
System.Console.WriteLine(item.ID + " ::: " + item.FullTitle);
});
System.Console.WriteLine("---------------------------------");
System.Console.WriteLine(client.GetAccessCode());
client.Archive(330361896);
System.Console.ReadKey();
}