Example #1
0
        private static void Main(string[] args)

        {
            var chains0 = new AppChains("https://beacon.sequencing.com/");

            Console.WriteLine(chains0.GetPublicBeacon(1, 2, "A"));


            var chains = new AppChains("147fc0683b08e94c6c2835efba60b815eb501a13", "https://api.sequencing.com/v1",
                                       "https://beacon.sequencing.com/");


            //Low level method invocation example
            AppResultsHolder rawReport = chains.GetRawReport("Chain9", "FILE:80599");

            printRawResponse(rawReport);


            //High level method invocation example
            Report result = chains.GetReport("Chain9", "FILE:80599");

            printReport("147fc0683b08e94c6c2835efba60b815eb501a13", result);
            Console.WriteLine("Press any key");
            Console.ReadKey();
        }
        private static void Main(string[] args)

        {
            var chains = new AppChains("<your token goes here>", "https://api.sequencing.com/",
                                       "https://beacon.sequencing.com/");

            //Low level method invocation example
            AppResultsHolder rawReport = chains.GetRawReport("Chain9", "80599");

            PrintRawResponse(rawReport);

            //High level method invocation example
            Report result = chains.GetReport("Chain9", "80599");

            PrintReport("<your token goes here>", result);
            Console.WriteLine("Press any key");
            Console.ReadKey();
        }