Exemple #1
0
        public async Task PathSuccsess()
        {
            ApiPath path = esi.Path("/alliances/");

            ApiResponse response = await path.Get();

            List <string> alliances = (await path.Get <List <string> >()).Response;

            Assert.AreEqual("1354830081", alliances[0]);

            ApiPath aPath = esi.Path("/alliances/{alliance_id}/");
            await aPath.Get <dynamic>(("alliance_id", alliances[0]));

            await aPath.GetBatch <dynamic>(("alliance_id", new List <object> {
                alliances[0], alliances[1]
            }));

            Assert.Pass();
        }