Exemplo n.º 1
0
        public List <GithubApiResult <List <dynamic> > > GetNotifications()
        {
            // THIS CODE IS NOT YET USED AND NOT YET TESTED!
            string apiUrl = $"https://api.github.com/notifications";

            return(GetPagedDataFromGithubApi(apiUrl, ConditionalRequestHeader.CreateLastModified(this.Status.EventsLastModified)));
        }
Exemplo n.º 2
0
        public List <GithubApiResult <List <dynamic> > > GetReceivedEvents()
        {
            string x = $"https://api.github.com/notifications";
            var    z = GetDataFromGithubApi <List <dynamic> >(x, null);

            string apiUrl = $"https://api.github.com/users/{this.Configuration.Username}/received_events";

            return(GetPagedDataFromGithubApi(apiUrl, ConditionalRequestHeader.CreateLastModified(this.Status.EventsLastModified)));
        }