SageTV APIs for Java and REST services.
https://github.com/stuckless/sagetv-sagex-api/wiki/REST-APIs-using-sagex-api
Check out source code and then configure the project and SageTV dependencies
# ./gradlew configure
If using IntelliJ then just open the build.gradle as the project.
If using eclipse, then run the following command and then import the project
# ./gradlew cleanEclipse eclipse
# ./gradlew dist
# ./gradlew generateApi
# ./gradlew gendocs