public boolean initClassesFromApi(String ancient)// Apiлṹ
	{
		System.out.println("ͨAPIȡĿϵ...");
		TaobaoClient client = new DefaultTaobaoClient(server, appkey,
				secret);
		ItemcatsGetRequest req = new ItemcatsGetRequest();
		// req.setFields("cid,parent_cid,name,is_parent");
		req.setCids(ancient);
		classesJsonObject = null;
		ItemcatsGetResponse response;
		try {
			response = client.execute(req, sessionKey);
			JSONObject json = new JSONObject(response.getBody().toString());
			classesJsonObject = (JSONObject) json
					.getJSONObject("itemcats_get_response")
					.getJSONObject("item_cats").getJSONArray("item_cat").get(0);
			// System.out.println(root.toString());
			classesJsonObject = initClassesFromApiSub(classesJsonObject);
			// System.out.println(root.toString());
			return true;
		} catch (ApiException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			return false;
		} catch (JSONException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
			return false;
		}
	}