protected PandaDocHttpClient SetApiKey() { var settings = new PandaDocHttpClientSettings(); var client = new PandaDocHttpClient(settings); var bearerToken = new PandaDocBearerToken { ApiKey = "c6caae24740bb7bfffc0895f27bbf1ca7fe6bbe9" }; client.SetBearerToken(bearerToken); return(client); }
public PandaDocHttpClient(PandaDocHttpClientSettings settings) { Settings = settings; HttpClient = new HttpClient(); JsonFormatter = new JsonMediaTypeFormatter(); }