@@ -0,0 +1,2077 @@
+package org.linuxguy.MarketBot;%0A%0Aimport javax.net.ssl.HttpsURLConnection;%0Aimport java.io.BufferedOutputStream;%0Aimport java.io.IOException;%0Aimport java.io.OutputStream;%0Aimport java.io.UnsupportedEncodingException;%0Aimport java.net.URL;%0A%0Apublic class GroupMeNotifier extends Notifier%3CComment%3E implements ResultListener%3CComment%3E %7B%0A    private static final String GROUPME_BOT_API = %22https://api.groupme.com/v3/bots/post%22;%0A%0A    private String mAppName;%0A    private String mAccessToken;%0A%0A    public GroupMeNotifier(String appName, String accessToken) %7B%0A        mAppName = appName;%0A        mAccessToken = accessToken;%0A    %7D%0A%0A    @Override%0A    public void onNewResult(Comment result) %7B%0A        try %7B%0A            String toPost = getJsonPayloadForComment(result);%0A%0A            if (!postCommentToGroupMe(toPost)) %7B%0A                System.err.println(%22Failed to post payload%22);%0A            %7D%0A        %7D catch (UnsupportedEncodingException e) %7B%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A%0A    private static boolean postCommentToGroupMe(String comment) %7B%0A        try %7B%0A            URL url = new URL(GROUPME_BOT_API);%0A            HttpsURLConnection httpcon = (HttpsURLConnection) url.openConnection();%0A            httpcon.setRequestProperty(%22Content-Type%22, %22application/x-www-form-urlencoded%22);%0A            httpcon.setRequestProperty(%22Accept%22, %22*/*%22);%0A            httpcon.setRequestMethod(%22POST%22);%0A%0A            httpcon.setDoOutput(true);%0A            httpcon.connect();%0A%0A            byte%5B%5D outputBytes = comment.getBytes(%22UTF-8%22);%0A            OutputStream os = new BufferedOutputStream(httpcon.getOutputStream());%0A            os.write(outputBytes);%0A%0A            os.flush();%0A            os.close();%0A%0A            httpcon.disconnect();%0A        %7D catch (IOException e) %7B%0A            e.printStackTrace();%0A            return false;%0A        %7D%0A%0A        return true;%0A    %7D%0A%0A    private String getJsonPayloadForComment(Comment c) throws UnsupportedEncodingException %7B%0A        return String.format(%22%7B%5C%22text%5C%22 : %5C%22%25s%5C%22, %5C%22bot_id%5C%22 : %5C%22%25s%5C%22%7D%22, Utils.formatComment(mAppName, c), mAccessToken);%0A    %7D%0A%7D%0A

Add GroupMeNotifier class