C# Class WareDealer.JDKiller

京东商城助手
欢迎加入QQ群415014949一起讨论
Show file Open project: hanksoft/KillJD Class Usage Examples

Public Properties

Property Type Description
EndProcess Action
InitProcess Action
ShowMessage Action
ShowStep Action

Public Methods

Method Description
GetInstance ( ) : JDKiller
GetWareTypeData ( string category, string myType ) : void

获取京东商品分类数据

GetWatchList ( ) : List

获取关注数据

InitLogin ( string uName, string uPass ) : void

初始化登录接口

Login4JD ( string myAuthCode ) : bool

登录京东

ParseWareTypeData ( string html, string myType ) : void

获取分类下所有商品详细数据

ReGetAuthCode ( ) : void

重取验证码图片

Private Methods

Method Description
CheckAuthcode ( ) : bool

是否要验证码

EndGetProcess ( bool bRtn ) : void
GetCodeImg ( ) : void

获取验证码图片

GetJDWebHtml ( string website ) : string

获取京东页面数据

GetLoginUI ( ) : void

获取登录界面数据

GetWactchs ( ) : List

获取所有关注数据

GetWareInfoByWatch ( string watchhtml ) : List
GetWatchWareList ( string watchhtml ) : List

获取关注列表数据

InitGetProcess ( int iLen ) : void
Login ( string authcode ) : bool

登录京东商城

Logout ( ) : void

退出京东

ParseLoginParams ( ) : void
ShowGetMessage ( string msg ) : void

显示获取数据

ShowGetStep ( int iStep ) : void

Method Details

GetInstance() public static method

public static GetInstance ( ) : JDKiller
return JDKiller

GetWareTypeData() public method

获取京东商品分类数据
public GetWareTypeData ( string category, string myType ) : void
category string
myType string
return void

GetWatchList() public method

获取关注数据
public GetWatchList ( ) : List
return List

InitLogin() public method

初始化登录接口
public InitLogin ( string uName, string uPass ) : void
uName string
uPass string
return void

Login4JD() public method

登录京东
public Login4JD ( string myAuthCode ) : bool
myAuthCode string
return bool

ParseWareTypeData() public method

获取分类下所有商品详细数据
public ParseWareTypeData ( string html, string myType ) : void
html string
myType string
return void

ReGetAuthCode() public method

重取验证码图片
public ReGetAuthCode ( ) : void
return void

Property Details

EndProcess public property

获取关注完成
public Action EndProcess
return Action

InitProcess public property

初始化进度条
public Action InitProcess
return Action

ShowMessage public property

显示消息
public Action ShowMessage
return Action

ShowStep public property

操作进度条
public Action ShowStep
return Action