class Github::Client::Repos::Statistics

for visualizing different types of repository activity.
The Repository Statistics API allows you to fetch the data that GitHub uses

def code_frequency(*args)

Other tags:
    Api: - public
def code_frequency(*args)
  arguments(args, required: [:user, :repo])
  get_request("/repos/#{arguments.user}/#{arguments.repo}/stats/code_frequency", arguments.params)
end

def commit_activity(*args)

Other tags:
    Api: - public
def commit_activity(*args)
  arguments(args, required: [:user, :repo])
  response = get_request("/repos/#{arguments.user}/#{arguments.repo}/stats/commit_activity", arguments.params)
  return response unless block_given?
  response.each { |el| yield el }
end

def contributors(*args)

Other tags:
    Api: - public
def contributors(*args)
  arguments(args, required: [:user, :repo])
  response = get_request("/repos/#{arguments.user}/#{arguments.repo}/stats/contributors", arguments.params)
  return response unless block_given?
  response.each { |el| yield el }
end

def participation(*args)

Other tags:
    Api: - public
def participation(*args)
  arguments(args, required: [:user, :repo])
  get_request("/repos/#{arguments.user}/#{arguments.repo}/stats/participation", arguments.params)
end

def punch_card(*args)

Other tags:
    Api: - public
def punch_card(*args)
  arguments(args, required: [:user, :repo])
  response = get_request("/repos/#{arguments.user}/#{arguments.repo}/stats/punch_card", arguments.params)
  return response unless block_given?
  response.each { |el| yield el }
end