C# Class MeliSample.Meli

Afficher le fichier Open project: aleml86/MeLiDotNetSample Class Usage Examples

Méthodes publiques

Méthode Description
Authorize ( string code, string redirectUri ) : void
Delete ( string resource, List param ) : IRestResponse
Get ( string resource ) : IRestResponse
Get ( string resource, List param ) : IRestResponse
GetAuthUrl ( 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

Private Methods

Méthode Description
refreshToken ( ) : void

Method Details

Authorize() public méthode

public Authorize ( string code, string redirectUri ) : void
code string
redirectUri string
Résultat void

Delete() public méthode

public Delete ( string resource, List param ) : IRestResponse
resource string
param List
Résultat IRestResponse

Get() public méthode

public Get ( string resource ) : IRestResponse
resource string
Résultat IRestResponse

Get() public méthode

public Get ( string resource, List param ) : IRestResponse
resource string
param List
Résultat IRestResponse

GetAuthUrl() public méthode

public GetAuthUrl ( string redirectUri ) : string
redirectUri string
Résultat string

Meli() public méthode

public Meli ( long clientId, string clientSecret ) : System
clientId long
clientSecret string
Résultat System

Meli() public méthode

public Meli ( long clientId, string clientSecret, string accessToken ) : System
clientId long
clientSecret string
accessToken string
Résultat System

Meli() public méthode

public Meli ( long clientId, string clientSecret, string accessToken, string refreshToken ) : System
clientId long
clientSecret string
accessToken string
refreshToken string
Résultat System

Post() public méthode

public Post ( string resource, List param, object body ) : IRestResponse
resource string
param List
body object
Résultat IRestResponse

Put() public méthode

public Put ( string resource, List param, object body ) : IRestResponse
resource string
param List
body object
Résultat IRestResponse