public String getJson() {
        try {
            /* Create a URL obj from strings */
            fullUrl = (QUERY_URL.concat("?name=").concat(s_name)).replace(" ", "%20").concat("&orderby=" + s_switch).concat("&limit=") + MAX_RESULTS;

            url = new URL(fullUrl);
            /* Debug */
            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;
    }