Java

A little help for all Java developers who would like to include our services in their projects, we are happy to support you! 📚

More information and examples of how to integrate the library can be found here, we hope you enjoy experimenting!

Using with Maven

<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.atomicnetworkseu</groupId>
<artifactId>atomicradio-library</artifactId>
<version>2.0.0</version>
</dependency>

Using with Gradle

allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.atomicnetworkseu:atomicradio-library:2.0.0'
}

Example

private AtomicClient atomicClient;
private void test() {
this.atomicClient = new AtomicClient();
Channel channel = this.atomicClient.getChannel(Channels.ONE);
Channel.Song song = channel.getSong();
System.out.println(MessageFormat.format("[{0}] {1} - {2}", channel.getName(), song.getArtist(), song.getTitle()));
}