@@ -0,0 +1,923 @@
+import java.io.IOException;%0Aimport moceanSMS.moceanSMS;%0A%0Apublic class example %7B%0A%09public static void main(String%5B%5D args) throws IOException %7B%0A%09%09%0A%09%09// Declare new MoceanSMS and specify API key and secret%0A%09%09moceanSMS moceansms = new moceanSMS(%22api_key%22,%22api_secret%22);%0A%09%09String rest_response;%0A%09%09// 1. Send SMS - .sendSMS(from, to, message) method to send a message%0A%09%09rest_response = moceansms.sendSMS(%22Mocean%22, %2260123456789%22, %22Hello%22);%0A%09%09System.out.println(rest_response);   %0A%09%09%09%09%0A%09%09%0A%09%09// 2. Query account balance%0A%09%09rest_response = moceansms.accountBalance();%0A%09%09System.out.println(rest_response);%0A%09    %0A%09    %0A%09    // 3. Query account pricing .accountPricing(mcc, mnc)%0A%09%09rest_response = moceansms.accountPricing(%22502%22,%2216%22);%0A%09%09System.out.println(rest_response);%0A%09    %0A%09    %0A%09    // 4. Query message status .messageStatus(msg_id)%0A%09%09rest_response = moceansms.messageStatus(%22mocean123%22);%0A%09%09System.out.println(rest_response);%0A%09%7D %0A%7D%0A

Create example.java