Skip to content

Instantly share code, notes, and snippets.

View kathrin77's full-sized avatar
🏠
Working from home

Kathrin Heim kathrin77

🏠
Working from home
  • ZHB Luzern
View GitHub Profile
@kathrin77
kathrin77 / stats.py
Last active May 3, 2024 08:55 — forked from lnielsen/stats.py
###Get zenodo community statistics
from urllib.request import Request, urlopen
from urllib.parse import quote_plus
import json
import csv
query = "communities:lory"
filename = "output.csv"
query = quote_plus(query)
link = f'https://zenodo.org/api/records?all_versions=true&size=200&q={query}'