Skip to content

Instantly share code, notes, and snippets.

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

Benjamin Schnabel bsesic

🏠
Working from home
View GitHub Profile
@cd060
cd060 / getGNDidFromVIAF.py
Created March 6, 2024 09:54
takes a VIAF ID as argument and returns the link to GND dataset
import requests
import json
def get_gnd_from_viaf(viafid):
url = f'https://www.viaf.org/viaf/{viafid}/viaf.jsonld'
response = requests.get(url)
if response.status_code == 200:
data = response.json()
i
me
my
myself
we
our
ours
ourselves
you
your