[][src]Function dishub::ops::github::poll_repo_events_new

pub fn poll_repo_events_new(
    slug: &str,
    tokens: &AppTokens
) -> Result<(String, String, u64), Error>

Get the events for a repository when you don't have an ETag (which is to say - for the first time).

The returned tuple contains:

You should use this only once and use poll_repo_events_update() afterwards.

Examples

let (response, etag, next) = poll_repo_events_new("nabijaczleweli/dishub", &tokens).unwrap();