api

http4k / org.http4k.servirtium / GitHub

GitHub

class GitHub : StorageProvider

Read a file from a repository using the GitHub API.

Constructors

Name Summary
<init> Read a file from a repository using the GitHub API.GitHub(owner: String, repo: String, credentials: Credentials, basePath: Path = Paths.get(""), reference: String? = null, http: HttpHandler = SetHostFrom(Uri.of("https://api.github.com")).then(JavaHttpClient()))

Functions

Name Summary
invoke fun invoke(name: String): InteractionStorage