Pasifik Panel API library for http://pasifiktelekom.com.tr/api/ in Java Language
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.
dist
src/pasifik
.gitignore
LICENSE
README.md
build.xml
manifest.mf

README.md

Pasifik Panel API Java

This library package provides a variety systems, the simplest way to integrate Pasifik services with your system.

Requirements

Minimum requirements Java 8 because we are using

import java.util.Base64;

You should download java-json.jar to your library.

Usage

after adding Pasifik.jar to your project

import pasifik.*;
...
String username = "YOUR_USERNAME";
String password = "YOUR_PASSWORD";
String header = "YOUR_COMPANY";
String lang = "tr"; // 'tr': Turkish response, 'en': English response, 'ar': Arabic response.
Boolean DEBUG = true;

PasifikAPI obj = new PasifikAPI(username, password, lang, DEBUG);

Test Case

Follow TestCase.java TestCase class and replace it with requirement parameters, for test just uncomment the following methods inside Pasifik.java.

TestCase test = new TestCase();
//test.send_one_message_to_many_receipients();
//test.send_one_message_to_many_receipients_schedule_delivery();
//test.send_one_message_to_many_receipients_schedule_delivery_with_validity_period();
//test.send_one_message_to_many_receipients_turkish_language();
//test.send_one_message_to_many_receipients_flash_sms();
//test.send_one_message_to_many_receipients_unicode();
//test.send_one_message_to_many_receipients_outside_turkey();
//test.send_many_message_to_many_receipients();
//test.query_multi_general_report();
//test.query_multi_general_report_with_id();
//test.query_detailed_report_with_id();
//test.get_account_settings();
//test.get_authority();
//test.get_cdr_report();
//test.get_cdr_report_range_datetime();
//test.get_cdr_report_with_type();
//test.get_active_calls();
//test.get_disconnect_active_call();

To run code Menu > Run Project or press F6. You will see the result on output.