Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lindar-open/dotmailer-java-client

Dotmailer Java Client
https://github.com/lindar-open/dotmailer-java-client

client dotmailer http-client java java-8

Last synced: about 1 month ago
JSON representation

Dotmailer Java Client

Awesome Lists containing this project

README

        

# dotmailer-java-client

Dotmailer API client written in Java 8.

Some Examples (more to come):

**Get Account Info**
``` java
Result accountInfo = Dotmailer.build(username, pass).accountInfo().get();
```

**List Address Books or Get a specific Address Book**
``` java
Result> addressBooks = Dotmailer.build(username, pass).addressBook().list();
Result addressBook = Dotmailer.build(username, pass).addressBook().get(addressBookId);
```

**List Address Books Contacts**
``` java
Result> addressBooks = Dotmailer.build(username, pass).addressBook().listContacts(addressBookId);
```

Note: Almost all methods return an empty optional object when the account doesn't exist or dotmailer's API couldn't be contacted.

Usage:

```xml

com.lindar
dotmailer-client
1.0.0

```