Hi all , i have python script who in realtime get data from donation service and create json file.Script push info to nightbot in realtime when i recive donate and nightbot post in twitch chat.( i create nightbot app get authtoken and use for this.But i want make command !LASTDONATE.Script save json file on my webserver and my json look like this
"{\"id\":107730768,\"alert_type\":\"1\",\"is_shown\":\"0\",\"additional_data\":\"{\\\"randomness\\\":468}\",\"billing_system\":\"fake\",\"billing_system_type\":null,\"username\":\"morningtea\",\"amount\":\"1.00\",\"amount_formatted\":\"1\",\"amount_main\":1,\"currency\":\"EUR\",\"message\":\"This is test donate message\",\"header\":\"\",\"date_created\":\"2022-12-15 23:53:52\",\"emotes\":null,\"ap_id\":null,\"istest_alert\":true,\"message_type\":\"text\",\"preset_id\":0}"
how i can get username,amount,currecy,message and data,time?