예제 #1
0
    public static IEnumerable Shop_GetStoreMetafields(string StoreName, string APIKey, string Password)
    {
        ShopifyClient sp = new ShopifyClient(StoreName, APIKey, Password);

        return sp.GetStoreMetafields();
    }
예제 #2
0
 private void GetStoreMetafields()
 {
     sp = new ShopifyClient(_storename, _apikey, _password);
     List<Metafield> vars = sp.GetStoreMetafields();
     txtRawData_Copy.Clear();
     foreach (Metafield m in vars)
     {
         txtRawData_Copy.Text += String.Format("ID: {0}| Key: {1}| value: {2}| valuetype: {3}\n", m.id, m.key, m.value, m.value_type);
     }
 }