Skip to content

onlinecheckwriter-zz/mailcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Onlinecheckwriter - Mail Check

onlinecheckwriter.com PHP Client is a simple but flexible wrapper for the onlinecheckwriter.com API. See full onlinecheckwriter.com documentation here.

Table of Contents

Getting Started

  • Complete registration
  • Get Token
  • Install package
  • You are ready to go.

Registration

Sandbox

First, you will need to create an account at sandbox.onlinecheckwriter.com and obtain your Test API Key.

Once you have created an account, you can access your API Keys from the Developer Panel.

Live Enviorment

First, you will need to create an account at app.onlinecheckwriter.com and obtain your Live API Key.

Once you have created an account, you can access your API Keys from the Developer Panel.

Installation

The recommended way to install onlinecheckwriter.com PHP Client is through Composer.

// Install Composer
curl -sS https://getcomposer.org/installer | php

// Add onlinecheckwriter.com PHP client as a dependency
composer require onlinecheckwriter/mailcheck

After installing, you need to require Composer's autoloader:

require_once __DIR__ . '/vendor/autoload.php';

Usage

// setToken
// setEnviorment : SANDBOX   

use onlinecheckwriter\MailCheck\Index;

$ocw = (new Index());
$ocw->setToken("G5LoP94QISpOvk6i072yXDFBPwSjRS01foqlYPdVdYJ7li2NRkvzuHvYIzif")
$ocw->setEnviorment("SANDBOX");



// setToken
// setEnviorment : LIVE   

use onlinecheckwriter\MailCheck\Index;

$ocw = (new Index());
$ocw->setToken("YOUR API TOKEN")
$ocw->setEnviorment("LIVE");

Examples

We've provided various examples for you to try out here.

There are simple scripts to demonstrate how to create all the core onlinecheckwriter objects (checks, sent mail)

API Documentation

=======================

Mail Type

  • 1 = First Class Mail
  • 2 = First Class with Tracking
  • 4 = USPS Priority Mail
  • 5 = USPS Express Mail
  • 6 = Fedex express saver
  • 11 = Fedex 2 days shipping
  • 11 = Fedex Standard Overnight
  • 13 = Fedex Priority Overnight

Copyright © 2019 onlinecheckwriter.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages