Package com.illusionaryone
Class StreamLabsAPI
java.lang.Object
com.illusionaryone.StreamLabsAPI
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanAttempts to authorize the user and obtain an access tokenstatic intGetDonations(int lastId) static booleanstatic StreamLabsAPIinstance()voidSetCurrencyCode(String sCurrencyCode) 
- 
Method Details- 
instance
- 
hasAccessTokenpublic static boolean hasAccessToken()
- 
getDonationPullLimitpublic static int getDonationPullLimit()
- 
SetCurrencyCode
- 
authorizepublic static boolean authorize(String clientId, String clientSecret, String redirectUri, String code) throws JSONException, URISyntaxException Attempts to authorize the user and obtain an access token- Parameters:
- clientId- The client ID
- clientSecret- The client secret
- redirectUri- The redirect URI that received the code
- code- The code to exchange for an access token
- Returns:
- trueif an access token was obtained and saved
- Throws:
- JSONException
- URISyntaxException
 
- 
GetDonations- Throws:
- JSONException
- URISyntaxException
 
 
-