Daily Quote Webservice API Example in Java

In this example, I have written simple program about Daily Quote Webservice API Example in Java. The program has been tested and output shared in the same post.

Project Structure

Daily Quote Webservice API Example in Java

Response.java

Success.java

Contents.java

Quote.java

GetTodayQuote.java

JSON Response

Output

1. Calling Service….
2. Rendering the response….
3. Printing the result…
——————————
 Today (2017-01-19) Quote : Own 100 percent of your focus. The most challenging of endurance drills will bring you to a level of optimal mental and physical performance.
Author : Lorii Myers 

References

1. https://theysaidso.com/api/
2. Quote For a Day