1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//! Unofficial crate for interacting with the grocery list management app
//! [AnyList](https://www.anylist.com/)'s API.
//!
//! ```no_run
//! use anylist_rs::{AnyListClient, Ingredient, Result};
//!
//! #[tokio::main]
//! async fn main() -> Result<()> {
//! // Authenticate with email and password
//! let client = AnyListClient::login("your-email@example.com", "your-password").await?;
//!
//! // Get all lists
//! let lists = client.get_lists().await?;
//! for list in &lists {
//! println!("List: {} ({} items)", list.name, list.items.len());
//! }
//!
//! // Create a new list
//! let grocery_list = client.create_list("Weekly Groceries").await?;
//! println!("Created list: {}", grocery_list.name);
//!
//! // Add items to the list
//! client.add_item(&grocery_list.id, "Milk").await?;
//! client.add_item_with_details(
//! &grocery_list.id,
//! "Apples",
//! Some("2 lbs"),
//! Some("Organic if possible"),
//! Some("Produce")
//! ).await?;
//!
//! Ok(())
//! }
//! ```
// Re-export commonly used types
pub use ;
pub use ;
// Re-export data structures
pub use ;
pub use RecipeCollection;
pub use ;
pub use MealPlanEvent;
pub use ;
pub use ;
pub use ;