日期:2014-05-18  浏览次数:21005 次

求winform 读取淘宝店铺数据的代码或例子
最近开了个淘宝店,我想在winform里获取我淘宝店的一些简单的信息,比如成交订单的信息,买家的信息,还有如何修改订单状态,就像由未发货更改成已发货,哪位大哥有这方面的例子,发一个到小弟的邮箱里,或贴一段代码也行,不过注释要详细,因为对API一窍不通,谢谢!
我的邮箱:328974264@qq.com

------解决方案--------------------
这个我曾经接触过,淘宝有个专门的api 开放出来的
而且淘宝商城和 普通的淘宝店也不一样

我记得好像是根据他给你的一个 webservices 你传参数过去,然后他返回你一个xml
所有的信息都在xml 里
------解决方案--------------------
http://blog.csdn.net/hongtoufafengfeng/article/details/6612354

C# code

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Top.Api;
using Top.Api.Domain;
using Top.Api.Parser;
using Top.Api.Request;
using Top.Api.Response;
using Top.Api.Util;


namespace xhtAuto
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            ITopClient client = new DefaultTopClient("http://gw.api.taobao.com/router/rest", "12304909", "4dcffaa6b6c368b444bbc39ef1332559");
            UserGetRequest req = new UserGetRequest();
            req.Fields = "user_id,uid,nick,sex,buyer_credit,seller_credit,location,created,last_visit,birthday,type,status,alipay_no,alipay_account,alipay_account,email,consumer_protection,alipay_bind";
            req.Nick = "红头发疯疯";
            UserGetResponse user = client.Execute(req);

           MessageBox.Show( user.User.UserId.ToString());
        }
    }
}

------解决方案--------------------
http://www.cnblogs.com/wuhuacong/archive/2010/03/26/1697005.html