Skip to content

Commit

Permalink
Updated oapen API version url to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
keegansmith21 committed May 27, 2022
1 parent dc92d70 commit c7d82e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c7d82e4

Please sign in to comment.