Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.18 KB

README.md

File metadata and controls

46 lines (36 loc) · 1.18 KB

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("[email protected]", "smsmanager-password");
        smsManager.sendMessage(Type.lowcost, "textMessage", "737111222", "777123456"); //one or more phone numbers
    }    
}