You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3.3 KiB
3.3 KiB
<html>
<head>
</head>
</html>
In [ ]:
import json
import os
import pprint
import urllib.parse
import sys
import requests
my_headers = {
"Content-Type": "application/json",
"Accept": "application/json",
}
url = "https://donavanaldrich.com/api/metrics/netdata/charts"
response = requests.get(url, headers=my_headers)
print(response.text)
In [8]:
!curl 'https://donavanaldrich.com/api/metrics/netdata/charts'
/bin/bash: curl: command not found
In [10]:
!sudo apt update && sudo apt upgrade -y
Get:1 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Get:4 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1,472 kB] Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB][33m Get:6 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2,099 kB] Get:7 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [889 kB]m Get:8 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1,183 kB] Get:9 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1,583 kB] Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2,555 kB] Get:11 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [27.4 kB] Get:12 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.1 kB] Fetched 10.2 MB in 2s (5,367 kB/s)3m Reading package lists... Done Building dependency tree Reading state information... Done 7 packages can be upgraded. Run 'apt list --upgradable' to see them. /bin/bash: suo: command not found
In [ ]: