Posted on August 31st, 2021
In Java 11, a standardized HTTPClient was introduced enabling the sending of requests into the Cloud and the retrieval of responses.
Here is a quick basic example of usage (putting the API license key in the header):
// create the request with the API end point and parameters HttpRequest request = HttpRequest.newBuilder() .uri(URI.create("https://api.interzoid.com/getcompanymatchadvanced?company= IBM&algorithm=wide")) .header("content-type", "application/json") .header("x-api-key", "YOURAPIKEY") .method("GET", HttpRequest.BodyPublishers.noBody()) .build(); // make the request and receive the response response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString()); // print the response to the console System.out.println(response.body());
In this particular example, we are generating a similarity key for an organization name. This enables us to locate (through sorting, for example) other organization names that are similar, such as this:
Identifying redundant organization names can be crucial in customer, vendor, or prospect databases. Additionally, this same technique can help us match company records across different data sources.
For the full working source code, visit here on Github.
For more information about the Company Name Matching API, visit here.
All content (c) 2018-2022 Interzoid Incorporated. Questions? Contact firstname.lastname@example.org
201 Spear Street, Suite 1100, San Francisco, CA 94105-6164
Interested in data matching services?
Terms of Service
Use the Interzoid Cloud Connect Data Platform and Start to Supercharge your Cloud Data now (Free Trials): connect.interzoid.com
API Integration Option Code Examples: www.github.com/interzoid