mirror of
https://codeberg.org/fediverse/fediparty.git
synced 2024-11-17 22:29:19 +00:00
Update numbers (and fix update-numbers.py)
Kudos to David Morley for the help: https://gitlab.com/diasporg/poduptime/-/issues/69
This commit is contained in:
parent
33cd3caa25
commit
00b395479c
|
@ -1,115 +1,115 @@
|
||||||
{
|
{
|
||||||
"list": {
|
"list": {
|
||||||
"lastUpdate": "03 Dec 2023",
|
"lastUpdate": "01 Jan 2024",
|
||||||
"diaspora": {
|
"diaspora": {
|
||||||
"population": "349\u00a0387",
|
"population": "657\u00a0194",
|
||||||
"activeUsers": "37\u00a0690",
|
"activeUsers": "34\u00a0561",
|
||||||
"podsNum": "93"
|
"podsNum": "90"
|
||||||
},
|
},
|
||||||
"friendica": {
|
"friendica": {
|
||||||
"population": "22\u00a0154",
|
"population": "20\u00a0269",
|
||||||
"activeUsers": "5\u00a0536",
|
"activeUsers": "5\u00a0049",
|
||||||
"podsNum": "357"
|
"podsNum": "340"
|
||||||
},
|
},
|
||||||
"hubzilla": {
|
"hubzilla": {
|
||||||
"population": "4\u00a0738",
|
"population": "4\u00a0782",
|
||||||
"activeUsers": "1\u00a0560",
|
"activeUsers": "1\u00a0354",
|
||||||
"podsNum": "68"
|
"podsNum": "67"
|
||||||
},
|
},
|
||||||
"mastodon": {
|
"mastodon": {
|
||||||
"population": "8\u00a0974\u00a0351",
|
"population": "8\u00a0931\u00a0951",
|
||||||
"activeUsers": "3\u00a0343\u00a0312",
|
"activeUsers": "3\u00a0056\u00a0556",
|
||||||
"podsNum": "11\u00a0167"
|
"podsNum": "10\u00a0971"
|
||||||
},
|
},
|
||||||
"gnusocial": {
|
"gnusocial": {
|
||||||
"population": "392",
|
"population": "345",
|
||||||
"activeUsers": "318",
|
"activeUsers": "267",
|
||||||
"podsNum": "19"
|
"podsNum": "18"
|
||||||
},
|
},
|
||||||
"pleroma": {
|
"pleroma": {
|
||||||
"population": "123\u00a0411",
|
"population": "123\u00a0568",
|
||||||
"activeUsers": "24\u00a0589",
|
"activeUsers": "22\u00a0212",
|
||||||
"podsNum": "1\u00a0058"
|
"podsNum": "1\u00a0024"
|
||||||
},
|
},
|
||||||
"misskey": {
|
"misskey": {
|
||||||
"population": "632\u00a0764",
|
"population": "650\u00a0234",
|
||||||
"activeUsers": "26\u00a0199",
|
"activeUsers": "25\u00a0876",
|
||||||
"podsNum": "1\u00a0130"
|
"podsNum": "1\u00a0128"
|
||||||
},
|
},
|
||||||
"peertube": {
|
"peertube": {
|
||||||
"population": "304\u00a0916",
|
"population": "280\u00a0805",
|
||||||
"activeUsers": "67\u00a0707",
|
"activeUsers": "59\u00a0160",
|
||||||
"podsNum": "1\u00a0187"
|
"podsNum": "1\u00a0206"
|
||||||
},
|
},
|
||||||
"pixelfed": {
|
"pixelfed": {
|
||||||
"population": "193\u00a0957",
|
"population": "200\u00a0582",
|
||||||
"activeUsers": "62\u00a0636",
|
"activeUsers": "62\u00a0954",
|
||||||
"podsNum": "513"
|
"podsNum": "505"
|
||||||
},
|
},
|
||||||
"funkwhale": {
|
"funkwhale": {
|
||||||
"population": "9\u00a0613",
|
"population": "9\u00a0890",
|
||||||
"activeUsers": "2\u00a0240",
|
"activeUsers": "2\u00a0191",
|
||||||
"podsNum": "116"
|
"podsNum": "109"
|
||||||
},
|
},
|
||||||
"writefreely": {
|
"writefreely": {
|
||||||
"population": "88\u00a0393",
|
"population": "96\u00a0456",
|
||||||
"activeUsers": "19\u00a0486",
|
"activeUsers": "23\u00a0992",
|
||||||
"podsNum": "523"
|
"podsNum": "522"
|
||||||
},
|
},
|
||||||
"plume": {
|
"plume": {
|
||||||
"population": "26\u00a0323",
|
"population": "26\u00a0517",
|
||||||
"activeUsers": "1",
|
"activeUsers": "1",
|
||||||
"podsNum": "46"
|
"podsNum": "46"
|
||||||
},
|
},
|
||||||
"mobilizon": {
|
"mobilizon": {
|
||||||
"population": "32\u00a0910",
|
"population": "33\u00a0274",
|
||||||
"activeUsers": "20",
|
"activeUsers": "3",
|
||||||
"podsNum": "112"
|
"podsNum": "104"
|
||||||
},
|
},
|
||||||
"lemmy": {
|
"lemmy": {
|
||||||
"population": "1\u00a0989\u00a0845",
|
"population": "1\u00a0965\u00a0542",
|
||||||
"activeUsers": "120\u00a0030",
|
"activeUsers": "136\u00a0853",
|
||||||
"podsNum": "952"
|
"podsNum": "875"
|
||||||
},
|
},
|
||||||
"gotosocial": {
|
"gotosocial": {
|
||||||
"population": "1\u00a0357",
|
"population": "1\u00a0459",
|
||||||
"activeUsers": "43",
|
"activeUsers": "47",
|
||||||
"podsNum": "699"
|
"podsNum": "718"
|
||||||
},
|
},
|
||||||
"owncast": {
|
"owncast": {
|
||||||
"population": "247",
|
"population": "235",
|
||||||
"activeUsers": "247",
|
"activeUsers": "235",
|
||||||
"podsNum": "247"
|
"podsNum": "235"
|
||||||
},
|
},
|
||||||
"bookwyrm": {
|
"bookwyrm": {
|
||||||
"population": "23\u00a0007",
|
"population": "24\u00a0686",
|
||||||
"activeUsers": "10\u00a0914",
|
"activeUsers": "11\u00a0524",
|
||||||
"podsNum": "106"
|
"podsNum": "106"
|
||||||
},
|
},
|
||||||
"microblogpub": {
|
"microblogpub": {
|
||||||
"population": "67",
|
"population": "71",
|
||||||
"activeUsers": "1",
|
"activeUsers": "1",
|
||||||
"podsNum": "67"
|
"podsNum": "71"
|
||||||
},
|
},
|
||||||
"akkoma": {
|
"akkoma": {
|
||||||
"population": "15\u00a0596",
|
"population": "15\u00a0940",
|
||||||
"activeUsers": "6\u00a0715",
|
"activeUsers": "6\u00a0496",
|
||||||
"podsNum": "574"
|
"podsNum": "568"
|
||||||
},
|
},
|
||||||
"calckey": {
|
"firefish": {
|
||||||
"population": "2\u00a0542",
|
"population": "21\u00a0561",
|
||||||
"activeUsers": "2\u00a0155",
|
"activeUsers": "16\u00a0619",
|
||||||
"podsNum": "42"
|
"podsNum": "445"
|
||||||
},
|
},
|
||||||
"hometown": {
|
"hometown": {
|
||||||
"population": "16\u00a0827",
|
"population": "15\u00a0913",
|
||||||
"activeUsers": "8\u00a0824",
|
"activeUsers": "7\u00a0718",
|
||||||
"podsNum": "159"
|
"podsNum": "157"
|
||||||
},
|
},
|
||||||
"fediverse": {
|
"fediverse": {
|
||||||
"population": "12\u00a0812\u00a0797",
|
"population": "13\u00a0081\u00a0274",
|
||||||
"activeUsers": "3\u00a0740\u00a0223",
|
"activeUsers": "3\u00a0473\u00a0669",
|
||||||
"podsNum": "19\u00a0235"
|
"podsNum": "19\u00a0305"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -52,7 +52,11 @@ class StatsFetcher:
|
||||||
query = '{ nodes(status: "UP", softwarename: "' \
|
query = '{ nodes(status: "UP", softwarename: "' \
|
||||||
+ softwarename \
|
+ softwarename \
|
||||||
+ '") { total_users, active_users_halfyear } }'
|
+ '") { total_users, active_users_halfyear } }'
|
||||||
response = self.session.post('https://api.fediverse.observer/', data={'query': query})
|
headers = {'Accept-Language': 'en-GB,en;q=0.5'}
|
||||||
|
response = self.session.post(
|
||||||
|
'https://api.fediverse.observer/',
|
||||||
|
json={'query': query},
|
||||||
|
headers=headers)
|
||||||
return response.json().get('data', {}).get('nodes', [])
|
return response.json().get('data', {}).get('nodes', [])
|
||||||
|
|
||||||
def __calculate_stats_for_software(self, softwarename):
|
def __calculate_stats_for_software(self, softwarename):
|
||||||
|
|
Loading…
Reference in a new issue