Interface MineSkinAPI
public interface MineSkinAPI
Generate Value and Signature for a skin image url using the MineSkin API
-
Method Summary
Modifier and TypeMethodDescriptiongenSkin
(String url, @Nullable SkinVariant skinVariant) Generates a skin using the MineSkin API [WARNING] MineSkin api key might be REQUIRED in the future.
-
Method Details
-
genSkin
MineSkinResponse genSkin(String url, @Nullable @Nullable SkinVariant skinVariant) throws DataRequestException, MineSkinException Generates a skin using the MineSkin API [WARNING] MineSkin api key might be REQUIRED in the future.- Parameters:
url
- pointing to a skin image urlskinVariant
- can be null, steve or slim- Returns:
- Custom skin property containing "value" and "signature"
- Throws:
DataRequestException
- on errorMineSkinException
- when there was a MineSkin specific error
-