Skip to content

Commit

Permalink
Include a list of HD conceptschemes. Refs #88
Browse files Browse the repository at this point in the history
  • Loading branch information
koenedaele committed Nov 6, 2023
1 parent 7d5dd2f commit d2a7a99
Show file tree
Hide file tree
Showing 6 changed files with 559 additions and 20 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014-2016 Onroerend Erfgoed
Copyright (c) 2014-2023 Onroerend Erfgoed

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include README.md LICENSE HISTORY.rst
include skosprovider_heritagedata/conceptschemes.json
13 changes: 13 additions & 0 deletions scripts/generate_cs.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'''
A script to create a JSON file with all heritagedata.org conceptschemes
'''

import csv
import json
import requests

res = requests.get('http://www.heritagedata.org/live/services/getSchemes?alias')

schemes = res.json()

print(json.dumps(schemes, indent=4))
Loading

0 comments on commit d2a7a99

Please sign in to comment.