Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lindar-open/dotmailer-java-client
- Owner: lindar-open
- License: apache-2.0
- Created: 2016-04-27T09:10:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-09-03T10:53:11.000Z (about 2 years ago)
- Last Synced: 2024-10-01T19:18:30.240Z (about 2 months ago)
- Topics: client, dotmailer, http-client, java, java-8
- Language: Java
- Homepage:
- Size: 121 KB
- Stars: 0
- Watchers: 7
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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```