Skip to content

Instantly share code, notes, and snippets.

View wilfredallyn's full-sized avatar

wilfredallyn

View GitHub Profile
import requests
import json
import time
# Replace with your server IP and application name
server_ip = '<your-server-ip>'
app_name = 'hashrate_display'
# Define the GET request URL for system info and POST request URL for custom data
get_url = f'http://{server_ip}/api/system/info'