From 8f1089c697060cf60ebfee1da8b8f60e561b6a24 Mon Sep 17 00:00:00 2001 From: shamhi Date: Fri, 2 Aug 2024 18:44:03 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot/api/clicker.py | 13 +++++++++++++ bot/api/nuxt.py | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/bot/api/clicker.py b/bot/api/clicker.py index 0c7e60a1..fd3ad119 100644 --- a/bot/api/clicker.py +++ b/bot/api/clicker.py @@ -62,6 +62,19 @@ async def get_account_info( return response_json +async def get_skins( + http_client: aiohttp.ClientSession +) -> dict: + response_json = await make_request( + http_client, + 'POST', + 'https://api.hamsterkombatgame.io/clicker/get-skin', + {}, + 'getting Skins', + ) + return response_json + + async def send_taps( http_client: aiohttp.ClientSession, available_energy: int, taps: int ) -> dict[Any, Any] | Any: diff --git a/bot/api/nuxt.py b/bot/api/nuxt.py index 42582c62..2afe9262 100644 --- a/bot/api/nuxt.py +++ b/bot/api/nuxt.py @@ -13,7 +13,7 @@ async def get_nuxt_builds( response_json = await make_request( http_client, 'GET', - 'https://hamsterkombatgame.io/_nuxt/builds/meta/8ec5c889-d6a0-4342-8ac7-94a4abfcf5b1.json', + 'https://hamsterkombatgame.io/_nuxt/builds/meta/9091d68b-4157-4eaf-a9f5-e3f3def26c8e.json', None, 'getting Nuxt Builds' )