class GithubTracker

Overview

Track events for a github user.

Defined in:

GithubTracker/Tracker.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(user : String, earlier : Time = @@default_earlier, later : Time = @@default_later) #

[View source]

Instance Method Detail

def commits_in_repos : Array(Tuple(Int32, Int32)) #

Get an array of tuples with the repo Id and the count of commits. Useful for printing results.


[View source]
def earlier : Time #

[View source]
def later : Time #

[View source]
def repo_commits : Hash(Int32, Int32) #

[View source]
def repo_commits? #

[View source]
def repo_name(repo_id : Int32) : String #

Given a REPO_ID, get the name of the repo


[View source]