Skip to content

Meyy-DL/phaxio-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phaxio-java

Phaxio API Java Client Library

Requirements

Java 1.5 or later.

Installation

You'll need to manually install the following JARs:

Creating the jar

  1. Clone or download the repository
  2. cd phaxio-java
  3. mkdir lib && cd lib && wget http://google-gson.googlecode.com/files/google-gson-2.2.4-release.zip && unzip google-gson-2.2.4-release.zip
  4. run 'ant jar'
  5. jar can be found in the dist directory

Usage

Phaxio.apiKey = "your_api_key";
Phaxio.apiSecret = "your_api_secret";

Map<String,Object> options = new HashMap<String,Object>();
options.put("string_data", "asdf");

List<String> phoneNumbers = new ArrayList<String>();
phoneNumbers.add("4141234567");

List<File> files = new ArrayList<File>();
files.add(new File("./test/apple.pdf"));

Long faxId = Fax.send(phoneNumbers, files, options);

About

Phaxio API Java Client Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published