package org.linuxguy.MarketBot;

import org.linuxguy.MarketBot.FlowdockNotifier.FlowdockNotificationType;

public class MarketBot { 
    public static void main(String[] args) throws InterruptedException {
        // This can be any valid Google account. For security reasons, I do NOT recommend using the same account
        // that you use to manage your app.
        String googlePlayUsername = "marketbotuser@gmail.com";
        String googlePlayPassword = "foo";
 
        String groupMeBotId = "XYZPDQ";
        String flowdockInboxId = "123456789";
 
        String botName = "MarketBot";

        final String androidPackage = "com.mycompany.MyApp";
        GooglePlayWatcher playWatcher = new GooglePlayWatcher(googlePlayUsername, googlePlayPassword, androidPackage, "My Android App");
        FlowdockNotifier flowdockNotifier = new FlowdockNotifier(botName,
                                                                 flowdockInboxId, 
                                                                 FlowdockNotificationType.INBOX);
        playWatcher.addListener(flowdockNotifier);
        playWatcher.start();
 
        // You can find this app ID in iTunes Connect
        String iOSAppId = "123456789";
        AppStoreRSSWatcher appStoreWatcherUS = new AppStoreRSSWatcher("us", iOSAppId, "My iOS App");
        appStoreWatcherUS.addListener(new GroupMeNotifier(groupMeBotId));
        appStoreWatcherUS.start();

        System.out.println("All pollers started");

        // Keep running until the watchers get tired. (Never!)
        playWatcher.join();
        appStoreWatcherUS.join();
    }
}

package org.linuxguy.MarketBot;

import org.linuxguy.MarketBot.FlowdockNotifier.FlowdockNotificationType;

public class MarketBot { 
    public static void main(String[] args) throws InterruptedException {
        // This can be any valid Google account. For security reasons, I do NOT recommend using the same account
        // that you use to manage your app.
        String googlePlayUsername = "marketbotuser@gmail.com";
        String googlePlayPassword = "foo";
 
        String groupMeBotId = "XYZPDQ";
        String flowdockInboxId = "123456789";
        String slackAPIKey = "abcd-2983487383-2834587102-9827393922-8c10d48zb3";

        String botName = "MarketBot";

        final String androidPackage = "com.mycompany.MyApp";
        GooglePlayWatcher playWatcher = new GooglePlayWatcher(googlePlayUsername, googlePlayPassword, androidPackage, "My Android App");
        FlowdockNotifier flowdockNotifier = new FlowdockNotifier(botName,
                                                                 flowdockInboxId, 
                                                                 FlowdockNotificationType.INBOX);
        SlackNotifier slackNotifier = new SlackNotifier(slackAPIKey, botName, "#appreviews");

        playWatcher.addListener(flowdockNotifier);
        playWatcher.addListener(slackNotifier);
        playWatcher.start();
 
        // You can find this app ID in iTunes Connect
        String iOSAppId = "123456789";
        AppStoreRSSWatcher appStoreWatcherUS = new AppStoreRSSWatcher("us", iOSAppId, "My iOS App");
        appStoreWatcherUS.addListener(new GroupMeNotifier(groupMeBotId));
        appStoreWatcherUS.start();

        System.out.println("All pollers started");

        // Keep running until the watchers get tired. (Never!)
        playWatcher.join();
        appStoreWatcherUS.join();
    }
}

Update MarketBot class to include a Slack example