예제 #1
0
        static void Main(string[] args)
        {
            PocketClient pocket  = new PocketClient(CONSUMER_KEY);
            string       authUrl = pocket.GetAuthUrlAsync().Result;

            Console.WriteLine("AuthUrl: " + authUrl);
            Console.WriteLine("Please auth action.");
            Console.ReadLine();

            if (pocket.SendAuthCompleteAsync().Result)
            {
                Console.WriteLine("Complete.");

                pocket.Add("https://getpocket.com/developer/docs/v3/add", tags: new[] { "test" }).Wait();
            }
        }