using System;
using System.Collections.Generic;
namespace Octokit.Reactive
{
///
/// A client for GitHub's Repository Statistics API.
/// Note that the GitHub API uses caching on these endpoints,
/// see a word about caching for more details.
///
///
/// 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
IObservable> GetContributors(string owner, string name);
///
/// Returns a list of for the given repository
///
/// The Id of the repository
IObservable> GetContributors(long repositoryId);
///
/// Returns the last year of commit activity grouped by week.
///
/// The owner of the repository
/// The name of the repository
IObservable GetCommitActivity(string owner, string name);
///
/// Returns the last year of commit activity grouped by week.
///
/// The Id of the repository
IObservable GetCommitActivity(long repositoryId);
///
/// 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
IObservable GetCodeFrequency(string owner, string name);
///
/// Returns a weekly aggregate of the number of additions and deletions pushed to a repository.
///
/// The Id of the repository
IObservable GetCodeFrequency(long repositoryId);
///
/// Returns the total commit counts for the owner and total commit counts in total.
///
/// The owner of the repository
/// The name of the repository
IObservable GetParticipation(string owner, string name);
///
/// Returns the total commit counts for the owner and total commit counts in total.
///
/// The Id of the repository
IObservable GetParticipation(long repositoryId);
///
/// Returns a list of the number of commits per hour in each day
///
/// The owner of the repository
/// The name of the repository
IObservable GetPunchCard(string owner, string name);
///
/// Returns a list of the number of commits per hour in each day
///
/// The Id of the repository
IObservable GetPunchCard(long repositoryId);
}
}