Beispiel #1
0
        static void Main(string[] args)
        {
            var settings = new ShopifySettings("vlad-p.myshopify.com", "a14623576b0b4fc774468131b4552a8f");
            var serv     = new ShopifyProductService(settings);
            //var webhookServ = new ShopifyWebhookService(settings);

            //var hooks = webhookServ.GetAll();

            var prods = serv.GetAll();

            //var evListServ = new EventListService();
            //var productListServ = new ProductListService();

            //var res = evListServ.Search(new EventListSearchRequest()
            //{
            //    SearchType = 2,
            //    Skip = 0,
            //    Top = 10,
            //    Title = "gfdfgdfg3434tdsf"
            //});

            //var prodLists = productListServ.Search(new ProductListSearchRequest
            //{
            //    Skip = 0,
            //    Top = 10
            //});

            //var gfdg = 2;
        }
Beispiel #2
0
        public List <Product> GetAll()
        {
            var shopifyProducts = _shopifyProductService.GetAll();

            return(ToProduct(shopifyProducts));
        }