public static void main(String[] args) throws IOException, ServiceException {
SimpleCommandLineParser parser = new SimpleCommandLineParser(args);
String username = parser.getValue("username", "user", "u");
String password = parser.getValue("password", "pass", "p");
String developerKey = parser.getValue("key", "k");
boolean help = parser.containsKey("help", "h");
if (help || username == null || password == null || developerKey == null) {
printUsage();
System.exit(1);
}