Function egg_mode::user::search[][src]

pub fn search<S: Into<Cow<'static, str>>>(query: S, token: &Token) -> UserSearch
Expand description

Lookup users based on the given search term.

This function returns a stream over the TwitterUser objects returned by Twitter. Due to a limitation in the API, you can only obtain the first 1000 search results. This method defaults to returning 10 users in a single network call; the maximum is 20. See the UserSearch page for details.