Skip to content
forked from vutran/ziptax

A PHP wrapper for Zip-Tax.com API

License

Notifications You must be signed in to change notification settings

supplyhog/ziptax

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Zip-Tax

A PHP wrapper for the zip-tax.com API.

Requirements

  1. An account on zip-tax.com
  2. PHP 5.6.0+
  3. libcurl

Usage

<?php
$zipTax = new supplyhog\ZipTax('YOUR_API_KEY');

try{
	$response = $zipTax->request('37402', 'Chattanooga', 'TN');
	if($response) {
		echo $response['results'][0]['taxSales'];
	}
}
catch(\Exception $e) {
	echo $e->getMessage();
}

License

MIT © Vu Tran

About

A PHP wrapper for Zip-Tax.com API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%