You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adapted from [a gist](https://gist.github.com/Jason-Gush/bcbab1c3c55e5684251ad3b8ee04eded) by [@JasonGush](https://github.com/Jason-Gush), this is a Python script that collects works on ORCID from their API from a list of users affiliated with an institution on the [NZ ORCID Hub](https://orcidhub.org.nz).
7
8
@@ -15,7 +16,7 @@ You'll need Python 3.6+ (and [pip](https://pip.pypa.io/en/stable/)).
15
16
16
17
You'll need to obtain credentials from both the [ORCID.org API](https://info.orcid.org/documentation/features/public-api/) and the [NZ ORCID Hub API](https://orcidhub.org.nz/api-docs). For the latter, choose "Hub API Registration" from the "Settings" menu.
17
18
18
-
> **_NB:_** We suggest using [the ORCID.org sandbox](https://sandbox.orcid.org/signin) and [Test Hub](https://test.orcidhub.org.nz) first. (See [#Configuration](#configuration) below.)
19
+
> ℹ We suggest using [the ORCID.org sandbox](https://sandbox.orcid.org/signin) and [Test Hub](https://test.orcidhub.org.nz) first. (See "Configuration" below.)
Rename [`.env.sample`](.env.sample) to `.env`, and copy and paste your access keys and secrets into it at the appropriate lines. (`.env` is included in `.gitignore`, so it won't be committed.)
30
30
31
+
Rename [`.env.sample`](.env.sample) to `.env`, and copy and paste your access keys and secrets into it at the appropriate lines. (`.env` is included in `.gitignore`, so it won't be committed.)
31
32
32
33
### Run
33
34
34
35
You should now be able to run the script. In VSCode, press <kbd>F5</kbd>.
35
-
## [Configuration](#Configuration)
36
+
37
+
## Configuration
36
38
37
39
Set `testing` to `True` in [ORCIDWorks.py](ORCIDWorks.py) to use the [ORCID.org sandbox](https://sandbox.orcid.org) and [test.orcidhub.org.nz](https://test.orcidhub.org.nz).
38
40
@@ -42,4 +44,4 @@ The script uses [python-decouple](https://pypi.org/project/python-decouple/) to
0 commit comments