From c7d82e4fb24c970a39376bc76ddda97a15e836c0 Mon Sep 17 00:00:00 2001 From: keegansmith21 Date: Fri, 27 May 2022 09:38:44 +0800 Subject: [PATCH] Updated oapen API version url to v3 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 4f7e5f0..3fabe2b 100644 --- a/main.py +++ b/main.py @@ -331,7 +331,7 @@ def download_access_stats_new( requestor_id = username api_key = password base_url = ( - f"https://irus.jisc.ac.uk/api/oapen/reports/oapen_ir/?platform=215&requestor_id={requestor_id}" + f"https://irus.jisc.ac.uk/api/v3/oapen/reports/oapen_ir/?platform=215&requestor_id={requestor_id}" f"&api_key={api_key}&begin_date={release_date}&end_date={release_date}" ) if publisher_uuid: