Getting Started

Here we explain how to use the Wale API correctly.

How do I import the API?

To integrate the Wale API into your project, we recommend using Gradle or Maven. Do not shade it.

  1. First, you need to register the repository server by using the following URL:

maven {
    name "waleRepositoryReleases"
    url "https://repo.walecloud.com/releases"
}
  1. After that, add the dependency to your project.

You can always check the latest version on the repository server. For this documentation, version 1.5.8 is used.

dependencies {
    compileOnly "at.stefan:wale-api:VERSION"
}

How do I now use the API in my project?

// An example of how to initialize the API
public class Test extends JavaPlugin {
    
    @Getter
    private WaleAPI waleAPI;
    
    @Override
    public void onEnable() {
        waleAPI = new WaleAPI();
    }
}

Last updated