The osu API wrapper written in Java
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();
}
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>