Crate mailchimp_api[−][src]
Expand description
A rust library for interacting with the MailChimp API.
For more information, the MailChimp API is documented at docs.mailchimp.com.
Example:
use mailchimp_api::MailChimp; use serde::{Deserialize, Serialize}; async fn get_subscribers() { // Initialize the MailChimp client. let mailchimp = MailChimp::new_from_env("", "", ""); // Get the subscribers for a mailing list. let subscribers = mailchimp.get_subscribers("some_id").await.unwrap(); println!("{:?}", subscribers); }
Modules
deserialize_null_string |
Structs
APIError | Error type returned by our library. |
AccessToken | |
LastNote | |
ListMembersResponse | The data type for the response to Mailchimp’s API for listing members of a mailing list. |
Location | |
MailChimp | Entrypoint for interacting with the MailChimp API. |
MarketingPermissions | |
Member | The data type for a member of a Mailchimp mailing list. |
MergeFields | |
Metadata | |
Tag | |
Webhook | The data type for the webhook from Mailchimp. |
WebhookData | |
WebhookGrouping | |
WebhookMerges |