资 源 简 介
A LittleSMS API client implemented in Java
Usage example
```
import ru.highcraft.apis.littlesms.LittleSms;
import ru.highcraft.apis.littlesms.LittleSmsImpl;
import ru.highcraft.apis.littlesms.LittleSmsResponse;
/**
* User: neoasket
* Date: 2011-07-22
* Time: 04:55:18
*/
public class LittleSmsTest {
public static void main(String[] args) throws Exception {
LittleSMS littleSms = new LittleSmsImpl("${YOUR_NAME}", "${YOUR_API_KEY}", "https://littlesms.ru/api/");
LittleSmsResponse littleSmsResponseBalance = littleSms.checkBalance();
System.out.println(littleSmsResponseBalance.getStatus());
LittleSmsResponse littleSmsResponseSend = littleSms.sendSms("${PHONE_1},${PHONE_2}", "${SMS_TEXT}", "${SMS_SENDER}", false);
System.out.println(littleSmsResponseSend.getStatus());
if (LittleSmsResponse.SUCCESS.equals(littleSmsResponseSend.getStatus())) {
int[] me