Skip to content

hrubysoftware/smsmanager-java-library

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
    }    
}