Files
auracast-translator/tests/get_group_state.py
pstruebi 92169ed4ae restructure_for_cloud (#3)
- implement a presentable working version of translator_Server

Reviewed-on: https://gitea.pstruebi.xyz/auracaster/multilang-translator-local/pulls/3
2025-03-19 12:58:59 +01:00

9 lines
236 B
Python

import requests
import time
if __name__ == '__main__':
# get the group state every 0.5s
while True:
response = requests.get('http://localhost:7999/groups/0/state')
print(response.json())
time.sleep(0.5)