This is a sample app that shows you how to get started using Contentful with a Java application.
The app creates a client to the Contentful API, requests all entries from a space, and then filters the results based on two criteria. You can browse the source code to find out more.
If you want to download the source code of the application, click the little clone button next to this repository, or clone it using the following command:
git clone git@github.com:contentful/contentful.java-hello-world
Once it's downloaded, run it with:
./gradlew run
On Linux/Mac or:
gradlew.bat run
on Windows.
That's it. Feel free to experiement and leave any issues, bugs, suggestions for spelling mistakes, etc. via the repository issue page.
Be excellent to each other!