Modifier and Type | Method and Description |
---|---|
MCLeaksAPI.Builder |
MCLeaksAPI.Builder.apiKey(String apiKey)
Uses an API key when making requests
Your API key defines your rate limit,
however it is not required to use the API
|
static MCLeaksAPI.Builder |
MCLeaksAPI.builder()
Begins building a new MCLeaks API
|
MCLeaksAPI.Builder |
MCLeaksAPI.Builder.expireAfter(long expireAfter,
TimeUnit unit)
How long to keep data before requiring re-fetching.
|
MCLeaksAPI.Builder |
MCLeaksAPI.Builder.nocache()
Makes it so a cache is not used.
|
MCLeaksAPI.Builder |
MCLeaksAPI.Builder.okHttpClient(okhttp3.OkHttpClient okHttpClient)
Used to implement your own built client
|
MCLeaksAPI.Builder |
MCLeaksAPI.Builder.testing()
Marks requests coming from the service for testing
|
MCLeaksAPI.Builder |
MCLeaksAPI.Builder.threadCount(int threadCount)
The amount of threads to use for concurrent requests
|
MCLeaksAPI.Builder |
MCLeaksAPI.Builder.userAgent(String userAgent)
Changes the user agent used in requests
|
Copyright © 2017. All rights reserved.