From 5430a5b28a2efd80db794c3e654b61864ad9452e Mon Sep 17 00:00:00 2001 From: Jan Range Date: Thu, 22 Aug 2024 12:37:49 +0200 Subject: [PATCH] fix docstring displaying wrong GET url --- pyDataverse/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyDataverse/api.py b/pyDataverse/api.py index a15decc..fc95e35 100644 --- a/pyDataverse/api.py +++ b/pyDataverse/api.py @@ -742,7 +742,7 @@ def get_datasets_by_subject(self, date_str=None, auth=False): def get_datasets_by_data_location(self, data_location, auth=False): """ - GET https://$SERVER/api/info/metrics/datasets/bySubject + GET https://$SERVER/api/info/metrics/datasets/?dataLocation=$location $type can be set to dataverses, datasets, files or downloads. """