ApplicationSample.java
contains three basic samples to demonstrate how to interacting with Timeplus Rest API.
You will need to setup the following environment variables:
export TIMEPLUS_API_KEY="<YOUR API KEY>"
# Make sure there is no trailing `/`
export TIMEPLUS_ADDRESS="https://us.timeplus.cloud"
# This is the ID (not friendly name) of your workspace
export TIMEPLUS_WORKSPACE="<YOUR WORKSPACE ID>"
Then you can simply run make run
to start the sample application.