class Github::API

Defined in:

lib/github/api.cr
tasks/sync_github.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(user : String, key : String, logging : Bool = true) #

[View source]

Instance Method Detail

def all #

[View source]
def base_url : String #

[View source]
def client #

[View source]
def crystal_users(page = 1) #

[View source]
def dependent_repos(full_name : String, *, page = 1, limit = 10) #

[View source]
def filter(query : String, page = 1) #

[View source]
def key : String #

[View source]
def logging : Bool #

[View source]
def logging=(logging : Bool) #

[View source]
def make_request(url) #

[View source]
def recently_updated #

[View source]
def repo(owner : String, name : String) #

[View source]
def repo(id : Int32) #

[View source]
def repo(full_name : String) #

[View source]
def repo_content(owner : String, repo : String, path : String) #

[View source]
def repo_forks(full_name : String) #

[View source]
def repo_languages(user_name : String, repository : String) #

Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.


[View source]
def repo_languages(full_name : String) : Hash(String, Int32) #

Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.


[View source]
def repo_readme(owner : String, repo : String) #

[View source]
def repo_release_by_tag(owner : String, repo : String, tag : String) #

[View source]
def repo_releases(user_name : String, repository : String) #

[View source]
def repo_releases(full_name : String) : Array(Github::Release) #

[View source]
def trending #

[View source]
def user(username : String) #

[View source]
def user : String #

[View source]
def user_repos(owner : String) #

[View source]