A light-weight tool to test-drive the DRIS+ API.
Here DRIS+ stands for the Directory of Research Information Systems, a service operated by euroCRIS.
- Checkout this project
- Run the Pipenv environment (
pipenv shell
) and do the rest of this procedure from within there: - Run
./download.py
to retrieve the whole contents of the API into araw-data/
directory - Run
./process.py
to process the retrieved contents fromraw-data/
into individual, pretty-printed entries in adata/
directory - Run
./download2.py
to re-retrieve the individual records from thedata/
directory (overwriting the original files). If your DRIS_CREDENTIALS environment variable contains ausername
:password
pair, it is used for basic HTTP authentication with the API endpoint. - Run
./list-openaireCrisEndpointURLs.sh
to summarize the different values of the openaireCrisEndpointURL field in JSON files in thedata/
directory
After having run step 5 with authentication, please ensure the data with the openaireCrisEndpointURL fields filled in do not accidentally get committed in the git repo.