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

pub fn search<'a>(
    query: &'a str,
    token: &'a Token,
    handle: &'a Handle
) -> UserSearch<'a>

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.