Skip to content

kane50613/osu4j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 release

<repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>

<dependency>
    <groupId>com.github.Gary50613</groupId>
    <artifactId>osu4j</artifactId>
    <version>VERSION</version>
</dependency>

Support