Osu4j
The osu API wrapper written in Java
Install / Use
/learn @kane50613/Osu4jREADME
osu!4J
The osu API wrapper written in Java
Example
OsuClient client = new OsuClient("CLIENT_ID", "CLIENT_SECRET");
try {
User user = client.getUser("Gary50613");
System.out.println(user.name);
} catch (IOException | InvalidTokenException | NotFoundException e) {
e.printStackTrace();
}
Install
replace VERSION with current version
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<dependency>
<groupId>com.github.Gary50613</groupId>
<artifactId>osu4j</artifactId>
<version>VERSION</version>
</dependency>
