Skip to content

DrOreo002/Saweria4J

Repository files navigation

Saweria4J

A simple Java API for Saweria.co, currently only handles donations event. Feel free to open a Pull Request if you want to add more!

Usage

new SaweriaClient(MY_STREAM_KEY, new SaweriaEventHandler() {
    @Override
    public void onDonationReceived(SaweriaDonation[] donations) {
        for (SaweriaDonation donation : donations) {
            System.out.println(donation);
        }
    }

    @Override
    public void onOpen() {

    }

    @Override
    public void onClosed() {

    }
}).start();

About

A simple Java API for Saweria.co

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages