Java
Changelog
Every release of the package, newest first.
0.0.1
The first release. It has a Java twin for every method of the TypeScript SDK, in the same namespaces and under the same names, and needs Java 17 or later and no dependency.
new OpenEmail()andOpenEmail.builder()readOPENEMAIL_API_KEY,OPENEMAIL_ACCESS_TOKENandOPENEMAIL_BASE_URL, and the builder takesapiKey,accessToken,baseUrl,httpClient,timeoutandmaxRetries.- Every paginated resource has
list, which returns onePage,listAll, which returns every item as aList, anditerate, which returns aPagedIterablethat fetches the next page only when the loop gets there. - A refusal from the API throws
ApiExceptionor its subclass for the error type, no response at all throwsNetworkException, and every one is an uncheckedOpenEmailException. OpenEmail.verifyWebhookSignature()checks a delivery, andOpenEmail.createTempMail()builds a client for disposable inboxes.- A sign-up form field can fill more of the contact:
mapsToalso takesphone,company,jobTitle,websiteandbirthday, saved on the contact card when the sign-up is accepted and only where the card has nothing yet. A single contact now comes withsignUps, its last 20 sign-ups with their answers, for a caller that holdsforms:read.