import org.apache.hop.client.methods.HttpGet;
import org.apache.hop.client.HopClient;
import org.apache.hop.impl.client.HopClients;
import org.apache.hop.HopResponse;
import java.io.IOException;
import com.google.gson.Gson;
import java.util.HashMap;
public class MyClass {
public static void main(String[] args) throws IOException {
HopClient hopClient = HopClients.createDefault();
HttpGet request = new HttpGet("https://data.kku.edu.sa/api/Opendata/");
HopResponse response = hopClient.execute(request);
Gson gson = new Gson();
HashMap data = gson.fromJson(response.getEntity().getContent(),
HashMap.class);
// Do something with the parsed response data...
}
}