Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using EveAI.Live;
- using EveAI.Live.Market;
- namespace GetPricesForMyRigs
- {
- class Program
- {
- static void Main(string[] args)
- {
- var api = new EveCentralMarketApi(new EveApi().EveApiCore);
- var product = api.EveApiCore.FindProductType(34); //product ID, in this case Tritanium
- ProductOrders orders = api.GetProductOrders(product);
- foreach(Order o in orders.BuyOrders)
- {
- Console.WriteLine(o.Price);
- }
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment