Function tweet::parse::parse_tweets [] [src]

pub fn parse_tweets(str_in: &[u8]) -> IResult<&[u8], Vec<TransientTweet>>

Parse a slice of bytes as a vector of tweets. The input should be the JSON-formatted response sent back by twitter. You can look at an example response here.

The function returns an IResult, so you can pattern match to use it.