/// <summary> /// Creates an instance of this class for use with making API Calls /// </summary> /// <param name="state">the authorization state required to make the API Calls</param> /// <param name="translator">the translator used to transform the data between your C# client code and the Etsy API</param> public EtsyAPIClient(EtsyAuthorizationState state, IDataTranslator translator) { this.State = state; this.Translator = translator; }
public EtsyAPIClient(EtsyAuthorizationState authState, JavaScriptSerializer javaScriptSerializer) { this.authState = authState; this.javaScriptSerializer = javaScriptSerializer; }
/// <summary> /// Creates an instance of this class for use with making API Calls /// </summary> /// <param name="state">the authorization state required to make the API Calls</param> public EtsyAPIClient(EtsyAuthorizationState state) { this.State = state; }