The DownloadStatistics.py file is the duplication of the githubstats.py file

This commit is contained in:
andrea
2023-09-06 09:24:32 +02:00
committed by wwmayer
parent 4897202bc4
commit 63a82b0b17

View File

@@ -1,8 +0,0 @@
import requests
r = requests.get("https://api.github.com/repos/FreeCAD/FreeCAD/releases")
myobj = r.json()
for p in myobj:
if "assets" in p:
for asset in p["assets"]:
print(asset["name"] + ": " + str(asset["download_count"]) + " downloads")