Schedule.runRepeatingTask(() -> {
Utils.makeApiRequest("appWidgets.update", "code", "return {\n" +
" \"title\": \"Топ богатых рыб\",\n" +
" \"title_url\": \"https://vk.com/botkaras\",\n" +
" \"title_counter\": 31,\n" +
" \"more\": \"Начать играть\",\n" +
" \"more_url\": \"https://vk.me/botkaras\",\n" +
" \"head\": [{\n" +
" \"text\": \"Имя\"\n" +
" }, {\n" +
" \"text\": \"Деньги\",\n" +
" \"align\": \"center\"\n" +
" }],\n" +
" \"body\": [\n" +
" [{\n" +
" \"text\": \"Артем Артемов\",\n" +
" },\n" +
" {\n" +
" \"text\": \"22812844 КарасьКоинов\",\n" +
" }],\n" +
" [{\n" +
" \"text\": \"Сергей Сергеев\"\n" +
" },\n" +
" {\n" +
" \"text\": \"4454848484 КарасьКоинов\",\n" +
" }\n" +
" ]\n" +
" ]\n" +
"};", "type", "table");
}, 1, TimeUnit.MINUTES);