| Server IP : 195.114.193.97 / Your IP : 216.73.216.186 Web Server : LiteSpeed System : Linux host 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64 User : sembi4241 ( 1126) PHP Version : 8.1.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/local/CyberCP/backup/ |
Upload File : |
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)