C# Class MercadoLibre.SDK.Meli

Mostra file Open project: mercadolibre/net-sdk Class Usage Examples

Public Methods

Method Description
Authorize ( string code, string redirectUri ) : void
Delete ( string resource, List param ) : IRestResponse
ExecuteRequest ( RestRequest request ) : IRestResponse
Get ( string resource ) : IRestResponse
Get ( string resource, List param ) : IRestResponse
GetAuthUrl ( string authUrl, string redirectUri ) : string
Meli ( long clientId, string clientSecret ) : System
Meli ( long clientId, string clientSecret, string accessToken ) : System
Meli ( long clientId, string clientSecret, string accessToken, string refreshToken ) : System
Post ( string resource, List param, object body ) : IRestResponse
Put ( string resource, List param, object body ) : IRestResponse
refreshToken ( ) : void
refreshToken ( string refresh_token ) : void

Method Details

Authorize() public method

public Authorize ( string code, string redirectUri ) : void
code string
redirectUri string
return void

Delete() public method

public Delete ( string resource, List param ) : IRestResponse
resource string
param List
return IRestResponse

ExecuteRequest() public method

public ExecuteRequest ( RestRequest request ) : IRestResponse
request RestSharp.RestRequest
return IRestResponse

Get() public method

public Get ( string resource ) : IRestResponse
resource string
return IRestResponse

Get() public method

public Get ( string resource, List param ) : IRestResponse
resource string
param List
return IRestResponse

GetAuthUrl() public method

public GetAuthUrl ( string authUrl, string redirectUri ) : string
authUrl string
redirectUri string
return string

Meli() public method

public Meli ( long clientId, string clientSecret ) : System
clientId long
clientSecret string
return System

Meli() public method

public Meli ( long clientId, string clientSecret, string accessToken ) : System
clientId long
clientSecret string
accessToken string
return System

Meli() public method

public Meli ( long clientId, string clientSecret, string accessToken, string refreshToken ) : System
clientId long
clientSecret string
accessToken string
refreshToken string
return System

Post() public method

public Post ( string resource, List param, object body ) : IRestResponse
resource string
param List
body object
return IRestResponse

Put() public method

public Put ( string resource, List param, object body ) : IRestResponse
resource string
param List
body object
return IRestResponse

refreshToken() public method

public refreshToken ( ) : void
return void

refreshToken() public method

public refreshToken ( string refresh_token ) : void
refresh_token string
return void