This project is an unofficial JAVA wrapper around the Curseforge Upload API.
It was designed for use with our custom Mod Publishing plugin, but anyone can use it.
To use this library in your own Project, add the following maven repository:
maven {
url "https://maven.firstdarkdev.xyz/releases"
}
Next, add the library as a dependency (Replace VERSION with the one above):
implementation "me.hypherionmc.modutils:CurseUpload4j:VERSION"
Before anything, you need to create a new CurseUploadApi
client:
public CurseUploadApi uploadApi = new CurseUploadApi(apiKey);
apiKey
is your CurseForge Upload API key, and is REQUIRED!
After creating the client, you can access it anywhere using
CurseUploadApi.INSTANCE
See test/java for more examples