Java Library for smsmanager.cz
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
.travis.yml
LICENSE
README.md
pom.xml

README.md

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