10.07.2015 Views

QuickAddress Pro API - QAS.com

QuickAddress Pro API - QAS.com

QuickAddress Pro API - QAS.com

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Primary <strong>API</strong> SampleCodeTesting your Primary <strong>API</strong> InstallationThe Primary <strong>API</strong> is supplied with a simple text-based application, calledqs_sl.exe (qs_sl on UNIX), and with sample code. Together these can be usedto verify that you have installed <strong>Pro</strong> <strong>API</strong> correctly, and to demonstrate some ofthe <strong>API</strong>’s key functionality.The test harness is not intended to be used as a <strong>com</strong>mercial application.The test harness enables you to obtain matching addresses and picklists frominput address information that you type in on the <strong>com</strong>mand line.The examples in this section use the C version of the test harness. See thereadme.txt file for details of other test harnesses and sample code. OnWindows, the VB test harness is available either as qs_vb.exe in the directorywhere the <strong>Pro</strong> program is installed, or as a shortcut from the Start > <strong>Pro</strong>gramsmenu. If the VB test harness is used, you must first enter a search and pressSearch to make the UI dialog pop up.Sample CodeThe sample code should be seen as the starting point for integration, and shouldbe tailored according to the type of integration that you are performing.Sample code is used to demonstrate best practice and includes the features thatare likely to be required by the majority of users.<strong>QuickAddress</strong> <strong>Pro</strong> <strong>API</strong> Primary <strong>API</strong> Sample Code • 11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!