Skip to content

bizzabo/mailchimp_java_client

Repository files navigation

mailchimp_java_client

Java client for Mailchimp V3 (WIP - partial apis for lists and batch operations)

Usage:

setup the main Mailchimp client using endpoint url and the api token:

Mailchimp mailchimp = new Mailchimp(instanceUrl, token);

execute calls to a resource: (example of lists resource)

Map<String,Object> params = new HashMap<>();
params.put("count", 1000);
mailchimp.lists().get(params);

get Interests example:

Map<String,Object> params = new HashMap<>();
params.put("count", 1000);
mailchimp.lists().getInterests(listId, categoryId,params);