@Test
	public void TestImage()
	{
		MarketSession session = new MarketSession();
        session.login("antoine.souchet@gmail.com", "coucou2031");
        
        //v2:com.sg.js.Doubles:1:3
        //-7934792861962808905
		GetImageRequest imgReq = GetImageRequest.newBuilder().setAppId("8885807488756673114")
                .setImageUsage(AppImageUsage.ICON)
                .setImageId("1")
                .build();

				session.append(imgReq, new Callback<GetImageResponse>() {
                
                @Override
                public void onResult(ResponseContext context, GetImageResponse response) {
                        try {
                        	File file = new File("/Temps/ico.png");
                                FileOutputStream fos = new FileOutputStream(file);
                                fos.write(response.getImageData().toByteArray());
                                fos.close();
                        } catch(Exception ex) {
                                ex.printStackTrace();
                        }
                }
});
session.flush();
	}