public static String request(String url) {
		CloseableHttpClient httpclient = HttpClients.createDefault();
		CloseableHttpResponse response = null;
		StringBuilder builder = new StringBuilder();
		StringBuilder reqUrl = new StringBuilder();
		reqUrl.append(URL);
		reqUrl.append(url);

		reqUrl.append("&key=");
		reqUrl.append(API_KEY);
		try {
			Logger.getAnonymousLogger().log(Level.INFO, "request: " + reqUrl.toString());
			HttpGet httpGet = new HttpGet(reqUrl.toString());
			response = httpclient.execute(httpGet);
			Logger.getAnonymousLogger().log(Level.INFO,
					response.getStatusLine().toString());
			HttpEntity entity = response.getEntity();

			if (entity != null) {
				InputStream input = new BufferedInputStream(entity.getContent());
				int temp;
				while ((temp = input.read()) != -1) {
					builder.append((char) temp);
				}
			}
			Logger.getAnonymousLogger().log(Level.INFO, builder.toString());
			EntityUtils.consume(entity);
		} catch (ClientProtocolException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			if (response != null) {
				try {
					response.close();
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
		}
		return builder.toString();

	}