Interface MailChimpClient
public interface MailChimpClient
Client for the MailChimp API 3.0 list member endpoints; create one with
MailChimpClient.Proxy.get(String).-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classCreatesMailChimpClientproxies that authenticate with an API key. -
Method Summary
Modifier and TypeMethodDescriptionaddListMember(String listId, ListMember listMember) Adds the member to the list and returns the response as raw JSON.addOrUpdateListMember(String listId, String subscriberHash, ListMember listMember) Adds or updates the member with the givensubscriber hash; returns raw JSON.getListMember(String listId, String subscriberHash) Returns the member with the givensubscriber hashas raw JSON.getListMemberObject(String listId, String subscriberHash) Returns the same member asgetListMember(String, String)mapped to aListMember.getListMembers(String listId, ListMemberStatus status, long offset, long count) Returns up tocountlist members starting atoffsetas raw JSON; a nullstatussends no status filter.getListMembersObject(String listId, ListMemberStatus status, long offset, long count) Returns the same page asgetListMembers(String, ListMemberStatus, long, long)mapped to aListMembers.
-
Method Details
-
getListMembers
Returns up tocountlist members starting atoffsetas raw JSON; a nullstatussends no status filter. -
getListMembersObject
Returns the same page asgetListMembers(String, ListMemberStatus, long, long)mapped to aListMembers. -
addListMember
Adds the member to the list and returns the response as raw JSON. -
addOrUpdateListMember
Adds or updates the member with the givensubscriber hash; returns raw JSON. -
getListMember
Returns the member with the givensubscriber hashas raw JSON. -
getListMemberObject
Returns the same member asgetListMember(String, String)mapped to aListMember.
-