Package com.github.twitch4j.helix
Klasse TwitchHelixBuilder
java.lang.Object
com.github.twitch4j.helix.TwitchHelixBuilder
Twitch API - Helix
-
Feldübersicht
Felder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuild()Twitch API Client (Helix)static TwitchHelixBuilderbuilder()Initialize the builderCustom Rate Limit to use for Helix callsBaseUrlClient IdClient SecretDefault Auth Token for API Requestsfeign.Logger.Levelyou can overwrite the feign loglevel to print the full requests + responses if neededProxy ConfigurationHTTP Request Queue SizeScheduler Thread Pool ExecutorDefault TimeoutUser AgentwithApiRateLimit(Bandwidth apiRateLimit) Custom Rate Limit to use for Helix callswithBaseUrl(String baseUrl) BaseUrlwithClientId(String clientId) Client IdwithClientSecret(String clientSecret) Client SecretwithDefaultAuthToken(OAuth2Credential defaultAuthToken) Default Auth Token for API RequestswithLogLevel(feign.Logger.Level logLevel) you can overwrite the feign loglevel to print the full requests + responses if neededwithProxyConfig(ProxyConfig proxyConfig) Proxy ConfigurationwithRequestQueueSize(Integer requestQueueSize) HTTP Request Queue SizewithScheduledThreadPoolExecutor(ScheduledThreadPoolExecutor scheduledThreadPoolExecutor) Scheduler Thread Pool ExecutorwithTimeout(Integer timeout) Default TimeoutwithUserAgent(String userAgent) User Agent
-
Felddetails
-
OFFICIAL_BASE_URL
The official base URL used by production Twitch Helix API servers.- Siehe auch:
-
MOCK_BASE_URL
The default URL used by the Mock API server generated by the Twitch CLI.- Siehe auch:
-
DEFAULT_BANDWIDTH
- Siehe auch:
-
-
Methodendetails
-
builder
Initialize the builder- Gibt zurück:
- Twitch Helix Builder
-
build
Twitch API Client (Helix)- Gibt zurück:
- TwitchHelix
-
getClientId
Client Id -
getClientSecret
Client Secret -
getUserAgent
User Agent -
getDefaultAuthToken
Default Auth Token for API Requests -
getRequestQueueSize
HTTP Request Queue Size -
getBaseUrl
BaseUrl -
getTimeout
Default Timeout -
getLogLevel
public feign.Logger.Level getLogLevel()you can overwrite the feign loglevel to print the full requests + responses if needed -
getProxyConfig
Proxy Configuration -
getScheduledThreadPoolExecutor
Scheduler Thread Pool Executor -
getApiRateLimit
Custom Rate Limit to use for Helix calls -
withClientId
Client Id- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withClientSecret
Client Secret- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUserAgent
User Agent- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withDefaultAuthToken
Default Auth Token for API Requests- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withRequestQueueSize
HTTP Request Queue Size- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBaseUrl
BaseUrl- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withTimeout
Default Timeout- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLogLevel
you can overwrite the feign loglevel to print the full requests + responses if needed- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withProxyConfig
Proxy Configuration- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withScheduledThreadPoolExecutor
public TwitchHelixBuilder withScheduledThreadPoolExecutor(ScheduledThreadPoolExecutor scheduledThreadPoolExecutor) Scheduler Thread Pool Executor- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withApiRateLimit
Custom Rate Limit to use for Helix calls- Gibt zurück:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-