Skip to content

treycarp/PhaxiOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PhaxiOS

A simple Objective-C library for Phaxio

Requirements

AFNetworking (Automatic when using cocoapods)

Usage

You must set your api key and secret key before calling the service.

[PhaxioManager setPMAPIKey:API_KEY andPMAPISecret:API_SECRET];

Send

[[PhaxioManager sharedInstance] send:fileData ofType:@"pdf" toNumber:@"5555555555" withOptions:params completion:^(id responseObject) {
    //Do something with the response
} failure:^(NSError *error) {
    //Handle the error
}];

Fax Status

[[PhaxioManager sharedInstance] faxStatusForId:@"18826331" completion:^(id responseObject) {
    NSLog(@"%@", responseObject);
} failure:^(NSError *error) {
    NSLog(@"%@", error.localizedDescription);
}];

About

A simple Objective-C library for Phaxio.

Resources

License

Stars

Watchers

Forks

Packages

No packages published