Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This is the java SDK for the InCountry storage network. Sign up for a free account at, then note down your Zone ID and API key.


To install the API client library to your local Maven repository, simply execute:

mvn install

To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:

mvn deploy

Refer to the official documentation for more information.

Maven users

Add this dependency to your project's POM:


Gradle users

Add this dependency to your project's build file:

compile "com.incountry:incountry-java-client:0.2.0"


At first generate the JAR by executing:

mvn package

Setup your environment:

export INC_ENDPOINT=<api endpoint>
export INC_ZONE_ID=<zone id>
export INC_API_KEY=<api key>
export INC_SECRET_KEY=<generate uuid>

and now use the SDK:

> import com.incountry.Storage;

> Storage global_client = Storage()
> # FIXME - replace snippet
> global_client.write(country='jp', key='key1', body="Store this data in Japan")

> r ='jp', key='key1')
> print(r)
{'body': 'Store this data in Japan', 'key': 'key1', 'key2': None, 'key3': None, 'profile_key': None, 'range_key': None, 'version': 1, 'zone_id': 645}
You can’t perform that action at this time.