Local Java application to interact with Google Datastore

I am currently attempting to create an automated data export from an existing Google Datastore "Kind" to output to a json file.

I'm having trouble finding a suitable example that allows me to simply pull specific entities from the Datastore and push them out into an output file.

All the examples and documentation I've found assume I am creating an app-engine project to interface with the Datastore. The program I need to create would have to be local to sit on a server and query the Datastore to pull down the data.

Is my approach possible? Any advice on how to achieve this would be appreciated.

1 answer