Sample Code Downloads
The files below are implementations of the DataUnison Research API in various forms. They are all free of charge and may be used as a base for your own applications, or just as an example of how the DataUnison Research API can be used.
Basic PHP Implementation
A basic server-side web application using the PHP Programming Language. This example uses the XML API Interface through cURL, and parses the results using DOM XML. The example allows users to search using keywords and a basic category filter, and outputs most of the data found in the result set. This example contains code for making calls to Version 2 of the GetResearchResults API.
Requires PHP 4.4.x (compiled with cURL 7.15.1 of higher and DOMXML) and a compatable version of Apache.
[Download] [Documentation]
XSL HTML REST Implementation
A client-side javascript application. This example calls the REST API Interface and decodes the results using a client-side XSL stylesheet. This example has identical functionality to the example above, but all of the html is created client side with the XSL transform. This example makes REST calls to Version 2 of the GetResearchResults API.
[Download] [Documentation]
XSL Excel REST Implemenation
An interface to the REST API embedded into Excel. This example calls the REST API Interface a tranforms the results into an Excel readable XML format using XSL. The REST call included in this sample is Version 2 of the GetResearchResults API, but can easily be modified to include other REST filters.
Requires Excel.
[Download] [Documentation]
Perl XML Implemenation
A basic set of Perl modules to interact with the DataUnison API. These modules use XML::Simple to parse and handle the requests. All requests are stored internally as a hash, which should allow for easier and less complex use, by interacting with the predefined functions provided. A basic testing script is also provided to help you get started. Provides examples for the GetResearchResults, GetSellerResearchResults, and GetUsageStats calls.
Requires Perl and a number of additional Perl Modules (See Readme).
[Download] [Documentation]