github4s
package github4s
Members list
Concise view
Type members
Classlikes
object Decoders
Implicit circe decoders of domains objects
Implicit circe decoders of domains objects
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Decoders.type
Top-level exception returned by github4s when an error occurred.
Top-level exception returned by github4s when an error occurred.
Attributes
- message
that is common to all exceptions
- Companion:
- object
- Graph
- Supertypes
- class Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
- class BadRequestErrorclass BasicErrorclass ForbiddenErrorclass JsonParsingErrorclass NotFoundErrorclass RateLimitExceededErrorclass UnauthorizedErrorclass UnhandledResponseErrorclass UnprocessableEntityError
object GHError
final case class GHResponse[A](result: Either[GHError, A], statusCode: Int, headers: Map[String, String])
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
class Github[F[_]](client: Client[F], accessToken: AccessToken[F])(implicit evidence$1: Concurrent[F], config: GithubConfig) extends GithubAPIs[F]
Attributes
- Companion:
- object
- Graph
- Supertypes
object Github
final case class GithubConfig(baseUrl: String, authorizeUrl: String, accessTokenUrl: String, headers: Map[String, String])
Configuration for github4s
Configuration for github4s
Attributes
- accessTokenUrl
for the second step of the oAuth process. If you use GitHub enterprise, you'll need to modify this.
- authorizeUrl
for the first step of the oAuth process. If you use GitHub enterprise, you'll need to modify this.
- baseUrl
of the GitHub API. If you use GitHub enterprise, you'll need to modify this.
- headers
to add to all requests sent to the GitHub API. Defaults to "github4s" as user agent.
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
object GithubConfig
Attributes
- Companion:
- class
- Graph
- Supertypes
- trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
- GithubConfig.type