use of me.perrycate.groupmeutils.Dumper in project groupme-utils by TheGuyWithTheFace.
the class Append method main.
public static void main(String[] args) {
System.out.println("starting");
// required info
String token = "YOUR TOKEN HERE";
// Test Group
String groupId = "GROUP ID HERE";
GroupMe groupme = new GroupMe(token);
Group group = groupme.getGroup(groupId);
Dumper dumper = new Dumper(groupme, group);
dumper.append(new File("testfile.txt"));
System.out.println("Complete");
}
use of me.perrycate.groupmeutils.Dumper in project groupme-utils by TheGuyWithTheFace.
the class TestDump method main.
public static void main(String[] args) {
// required info
String token = "YOUR API TOKEN HERE";
String groupId = "GROUP ID HERE";
GroupMe groupme = new GroupMe(token);
Group group = groupme.getGroup(groupId);
Dumper dumper = new Dumper(groupme, group);
dumper.dump(new File("testdump.txt"));
System.out.println("Complete");
}