Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/firstdarkdev/curseupload4j
A java Wrapper for the CurseForge upload API
https://github.com/firstdarkdev/curseupload4j
curseforge curseforge-api java minecraft publishing
Last synced: 21 days ago
JSON representation
A java Wrapper for the CurseForge upload API
- Host: GitHub
- URL: https://github.com/firstdarkdev/curseupload4j
- Owner: firstdarkdev
- License: mit
- Created: 2023-03-15T17:52:08.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-04T16:35:57.000Z (7 months ago)
- Last Synced: 2024-06-04T18:40:18.340Z (7 months ago)
- Topics: curseforge, curseforge-api, java, minecraft, publishing
- Language: Java
- Homepage:
- Size: 92.8 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
## CurseUpload4J
This project is an unofficial JAVA wrapper around the [Curseforge Upload API](https://support.curseforge.com/en/support/solutions/articles/9000197321-curseforge-upload-api).
It was designed for use with our custom Mod Publishing plugin, but anyone can use it.
### Maven Setup
To use this library in your own Project, add the following maven repository:
```gradle
maven {
url "https://maven.firstdarkdev.xyz/releases"
}
```Next, add the library as a dependency (Replace VERSION with the one above):
![badge](https://maven.firstdarkdev.xyz/api/badge/latest/releases/me/hypherionmc/modutils/CurseUpload4j?color=40c14a&name=CurseUpload4J)
```gradle
implementation "me.hypherionmc.modutils:CurseUpload4j:VERSION"
```---
### Example Usage
Before anything, you need to create a new `CurseUploadApi` client:
```java
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
```java
CurseUploadApi.INSTANCE
```See test/java for more examples