static GitHub connect() {
      final Decoder decoder = new GsonDecoder();
      final Encoder encoder = new GsonEncoder();
      return Feign.builder()
          .encoder(encoder)
          .decoder(decoder)
          .errorDecoder(new GitHubErrorDecoder(decoder))
          .logger(new Logger.ErrorLogger())
          .logLevel(Logger.Level.BASIC)
          .requestInterceptor(
              template -> {
                template.header(
                    // not available when building PRs...
                    // https://docs.travis-ci.com/user/environment-variables/#defining-encrypted-variables-in-travisyml
                    "Authorization", "token 383f1c1b474d8f05a21e7964976ab0d403fee071");
              })
          .options(new Request.Options(10, TimeUnit.SECONDS, 60, TimeUnit.SECONDS, true))
          .target(GitHub.class, "https://api.github.com");
    }
Lists all contributors for all repos owned by a user.
example-github/src/main/java/example/github/GitHubExample.java