class GitHub
package funkin.github
Static methods
staticinlinefilterReleases(releases:Array<GitHubRelease>, keepPrereleases:Bool = true, keepDrafts:Bool = false):Array<GitHubRelease>
Filters all releases gotten by getReleases
Parameters:
releases | Releases |
---|---|
keepPrereleases | Whenever to keep Pre-Releases. |
keepDrafts | Whenever to keep Drafts. |
Returns:
Filtered releases.
staticgetContributors(user:String, repository:String, ?onError:Exception ‑> Void):Array<GitHubContributor>
staticgetReleases(user:String, repository:String, ?onError:Exception ‑> Void):Array<GitHubRelease>
Gets all the releases from a specific GitHub repository using the GitHub API.
Parameters:
user | |
---|---|
repository |
Returns:
Releases