using System; using System.Collections.Generic; namespace Octokit.Reactive { /// /// A client for GitHub's Repository Statistics API. /// /// /// See the Repository Statistics API documentation for more information. /// public interface IObservableStatisticsClient { /// /// Returns a list of for the given repository /// /// The owner of the repository /// The name of the repository /// A list of IObservable> GetContributors(string owner, string repositoryName); /// /// Returns the last year of commit activity grouped by week. /// /// The owner of the repository /// The name of the repository /// The last year of IObservable GetCommitActivity(string owner, string repositoryName); /// /// Returns a weekly aggregate of the number of additions and deletions pushed to a repository. /// /// The owner of the repository /// The name of the repository /// Returns a weekly aggregate of the number additions and deletion IObservable GetCodeFrequency(string owner, string repositoryName); /// /// Returns the total commit counts for the owner and total commit counts in total. /// /// The owner of the repository /// The name of the repository /// Returns from oldest week to now IObservable GetParticipation(string owner, string repositoryName); /// /// Returns a list of the number of commits per hour in each day /// /// The owner of the repository /// The name of the repository /// Returns commit counts per hour in each day IObservable GetPunchCard(string owner, string repositoryName); } }