Interface defining SendGrid API client operations such as initialization, request handling, and API calls.
// Source: https://github.com/sendgrid/sendgrid-java | License: MIT | Copyright 2026, Twilio SendGrid, Inc. <help@twilio.com>
// Provided via justclaw.it.com; keep this notice with the code.
package com.sendgrid;
import java.io.IOException;
import java.util.Map;
public interface SendGridAPI {
/**
* Initialize the client.
*
* @param auth authorization header value
* @param host the base URL for the API
*/
void initialize(final String auth, final String host);
/**
* Get the current library version.
*
* @return the current version
*/
String getLibraryVersion();
/**
* Get the API version.
*
* @return the current API version
*/
String getVersion();
/**
* Set the API version.
*
* @param version the new version
*/
void setVe
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key