|
|
@ -8,10 +8,10 @@ fn main() { |
|
|
|
.unwrap(); |
|
|
|
.unwrap(); |
|
|
|
let client = cli::authenticate(registration).unwrap(); |
|
|
|
let client = cli::authenticate(registration).unwrap(); |
|
|
|
|
|
|
|
|
|
|
|
println!("{:?}", client |
|
|
|
client |
|
|
|
.get_home_timeline().unwrap() |
|
|
|
.favourites().unwrap() |
|
|
|
.items_iter() |
|
|
|
.items_iter() |
|
|
|
.take(100) |
|
|
|
.take(2) |
|
|
|
.collect::<Vec<_>>() |
|
|
|
.for_each(move |record| println!("{:#?}", record)) |
|
|
|
); |
|
|
|
; |
|
|
|
} |
|
|
|
} |
|
|
|