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§
Structs§
- APIError
- Error type returned by our library.
- Access
Token - Address
- Ecommerce
Data - Last
Note - List
Members Response - The data type for the response to Mailchimp’s API for listing members of a mailing list.
- Location
- Login
- Mail
Chimp - Entrypoint for interacting with the MailChimp API.
- Marketing
Permissions - Member
- The data type for a member of a Mailchimp mailing list.
- Merge
Fields - Metadata
- Stats
- Tag
- Webhook
- The data type for the webhook from Mailchimp.
- Webhook
Data - Webhook
Grouping - Webhook
Merges