public String getJson() {
    try {
      /* Create a URL obj from strings */
      url =  new URL((QUERY_URL.concat(word)).replace(" ", "%20"));

      System.out.println(fullUrl);

      conn = url.openConnection();

      // Get the response
      rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));

      String line = "";
      while ((line = rd.readLine()) != null) {
        json = json.concat(line);
      }

      rd.close();

    } catch (MalformedURLException ex) {
      ex.printStackTrace();
    } catch (IOException ex) {
      ex.printStackTrace();
    }

    return json;
  }