class Github::API
- Github::API
- Reference
- Object
Defined in:
lib/github/api.crtasks/sync_github.cr
Constructors
Instance Method Summary
- #all
- #base_url : String
- #client
- #crystal_users(page = 1)
- #dependent_repos(full_name : String, *, page = 1, limit = 10)
- #filter(query : String, page = 1)
- #key : String
- #logging : Bool
- #logging=(logging : Bool)
- #make_request(url)
- #recently_updated
- #repo(owner : String, name : String)
- #repo(id : Int32)
- #repo(full_name : String)
- #repo_content(owner : String, repo : String, path : String)
- #repo_forks(full_name : String)
-
#repo_languages(user_name : String, repository : String)
Lists languages for the specified repository.
-
#repo_languages(full_name : String) : Hash(String, Int32)
Lists languages for the specified repository.
- #repo_readme(owner : String, repo : String)
- #repo_release_by_tag(owner : String, repo : String, tag : String)
- #repo_releases(user_name : String, repository : String)
- #repo_releases(full_name : String) : Array(Github::Release)
- #trending
- #user(username : String)
- #user : String
- #user_repos(owner : String)
Constructor Detail
Instance Method Detail
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.
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.