IP Intelligence services for 51Degrees Pipeline

fiftyone.ipintelligence.examples.console.MetadataCloud Class Reference

Detailed Description

This example shows how to access the metadata that the Cloud service exposes about the properties available with the resource key supplied, along with the evidence keys that are accepted by the service.

Access to the Cloud service is configured using a "resource key". The resource key can be supplied as a command line argument, or via the environment variable or system property "TestResourceKey". An optional second command line argument, or the environment variable or system property "TestCloudEndPoint", can be used to direct the example at a custom hosted Cloud service.

Static Public Member Functions

static void main (String[] args) throws Exception
static void run (String resourceKey, String endPoint, OutputStream outputStream) throws Exception
 Run the example.

Member Function Documentation

◆ run()

void fiftyone.ipintelligence.examples.console.MetadataCloud.run ( String resourceKey,
String endPoint,
OutputStream outputStream ) throws Exception
static

Run the example.

Parameters
resourceKeya 51Degrees resource key
endPointoptional custom Cloud service endpoint, or null
outputStreamsomewhere for the results
Examples
console/MetadataCloud.java.