/smsmanager-java-library

Java Library for smsmanager.cz

Primary LanguageJavaApache License 2.0Apache-2.0

smsmanager-java-library

Build Status Release

Java Library for smsmanager.cz

Download

Maven

  1. Add the JitPack repository to your build file
    <repositories>
    	<repository>
    	    <id>jitpack.io</id>
    	    <url>https://jitpack.io</url>
    	</repository>
    </repositories>
  2. Add the dependency
    <dependency>
        <groupId>com.github.hrubysoftware</groupId>
        <artifactId>smsmanager-java-library</artifactId>
        <version>1.1.0</version>
    </dependency>

How to use

First parameter is a type of request, available values:

  • Type.lowcost,
  • Type.high,
  • Type.economy.
class Main{
    public static void main(String[] args){
        SmsManager smsManager = new SmsManager("smsmanager@username.tld", "smsmanager-password");
        smsManager.sendMessage(Type.lowcost, "textMessage", "737111222", "777123456"); //one or more phone numbers
    }    
}