CloudyDino / DataFetch

Fetches data from http://jsonplaceholder.typicode.com/posts/<user_id> endpoint and then parses JSON data to make it readable.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DataFetch

Fetches data from http://jsonplaceholder.typicode.com/posts/user_id endpoint where user_id is a number from 1 to 100 inclusive and then parses the JSON data to make it readable.

Instructions

  1. Open command prompt and change to the directory which contains DataFetch.java
  2. Type in javac DataFetch.java in order to compile the source code
  3. To run the code, type java DataFetch or java DataFetch 1 where the 1 can be replaced by any number from 1 to 100. If the former one is used, you will be asked by the program to input the user_id

About

Fetches data from http://jsonplaceholder.typicode.com/posts/<user_id> endpoint and then parses JSON data to make it readable.


Languages

Language:Java 100.0%