Skip to content

Dryad

UMD is a member of the Dryad Data Community, which is a community-owned resource that offers data curation services in addition to large storage capacity for most kinds of datasets in any discipline. A search is available with a limit to the University of Maryland, College Park Institution. You can find more information on the UMD Libraries website.

OpenAPI Specification

The Dryad API is built using the OpenAPI Specification, with both YAML-based and HTML-based documentation available.

Endpoint: https://datadryad.org/api/v2/

Example: dryad-api.py

dryad-api.py
#!/usr/bin/env python3

import urllib.request
import json


# Search Dryad using the Dryad API

ENDPOINT = 'https://datadryad.org/api/v2'

# Search for datasets which have authors affiliated with the
# University of Maryland, College Park
params = {
    "affiliation": "https://ror.org/047s2c258",
}

search_url = ENDPOINT + '/search?' + urllib.parse.urlencode(params)
print(search_url)

# Get search results as parsed JSON
with urllib.request.urlopen(search_url) as request:
    response = json.loads(request.read())

    # Iterate over the returned items
    for item in response['_embedded']['stash:datasets']:
        link = item['identifier'].replace('doi:', 'https://doi.org/')
        title = item['title']

        print('----')
        print(f'Title: {title}')
        print(f'Link:  {link}')

JSON-LD

Format Description: JSON-LD

You can extract schema.org DataSet structured data, encoded using JSON-LD, from HTML pages in Dryad for University of Maryland, College Park authors.

Example: