HEX
Server: LiteSpeed
System: Linux vearitale.com 5.14.0-570.32.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 6 11:30:41 EDT 2025 x86_64
User: yunab9059 (2007)
PHP: 8.3.21
Disabled: NONE
Upload Files
File: //usr/local/CyberCP/backup/tests.py
import requests

url = "https://api.github.com/repos/rustic-rs/rustic/releases/latest"  # Replace with your API endpoint URL
response = requests.get(url)

if response.status_code == 200:
    data = response.json()
    print(data['tag_name'])
    # Do something with the data
else:
    print("Request failed with status code:", response.status_code)