public void Get_EU_Realm_Auction_Data() { WowExplorer euExplorer = new WowExplorer(Region.EU, Locale.fr_FR, APIKey); Auctions auctions = euExplorer.GetAuctions("Twisting Nether"); Assert.IsTrue(auctions.Horde.Auctions.Count() > 0); }
public void Get_TW_Realm_Auction_Data() { WowExplorer twExplorer = new WowExplorer(Region.TW, Locale.zh_TW, APIKey); Auctions auctions = twExplorer.GetAuctions("Balnazzar"); Assert.IsTrue(auctions.Horde.Auctions.Count() > 0); }
public void Get_TW_Realm_Auction_Data() { WowExplorer twExplorer = new WowExplorer(Region.TW, Locale.zh_TW, APIKey); Auctions auctions = twExplorer.GetAuctions("Balnazzar"); Assert.IsTrue(auctions.AllAuctionHouses.Auctions.Count() > 0); }
public void Get_EU_Realm_Auction_Data() { WowExplorer euExplorer = new WowExplorer(Region.EU, Locale.fr_FR, APIKey); Auctions auctions = euExplorer.GetAuctions("Twisting Nether"); Assert.IsTrue(auctions.AllAuctionHouses.Auctions.Count() > 0); }
private void testRealm(Region region, string realm) { WowExplorer explorer = new WowExplorer(Region.US); Auctions auctions = explorer.GetAuctions("Skullcrusher"); Assert.IsTrue(auctions.Horde.Auctions.Count() > 0); Assert.IsTrue((from n in auctions.Horde.Auctions where n.ItemId == 53010 select n).Count() > 0); }
public static string GetRandomAuctionOwner(string _realm) { Console.WriteLine($"{DateTime.Now}: [*] Getting a random auction owner from {_realm} ..."); Auctions _auctions = explorer.GetAuctions(_realm); List <Auction> AuctionList = _auctions.CurrentAuctions.ToList(); Random rnd = new Random(); int r = rnd.Next(AuctionList.Count()); Auction randomAuction = AuctionList[r]; string auctionOwner = randomAuction.Owner; return(auctionOwner); }
public void Get_US_Realm_Auction_Data() { Auctions auctions = explorer.GetAuctions("skullcrusher"); Assert.IsTrue(auctions.AllAuctionHouses.Auctions.Count() > 0); }
public void Get_Auction_Data() { Auctions auctions = explorer.GetAuctions("skullcrusher"); Assert.IsTrue(auctions.CurrentAuctions.Count() > 0); }