code: public static FigShareClient to(String endpoint, int version, String clientKey, String clientSecret,
              String tokenKey, String tokenSecret) {
          return new FigShareClient(endpoint, version, clientKey, clientSecret, tokenKey, tokenSecret);
      }
docs: Create a FigShareClient to interface to the FigShare API.
  
  @param endpoint API endpoint
  @param version API version
  @param clientKey OAuth client key
  @param clientSecret OAuth client secret
  @param tokenKey OAuth token key
  @param tokenSecret OAuth token secret
  @return a {@link FigShareClient}