zenopy Client#

The Zenodo client class in zenopy is the main gate to its functionality providing a secure and efficient communication route to your private or public records available on Zenodo repositories.

Public records on Zenodo are freely available to and impose no restrictions on the user accounts. Thus, users can easily use zenopy to search through the existing public records published Zenodo or query their metadata.

Contrary to accessing the public records, Zenodo requires you to create a private token from your Zenodo account if you plan to interact with your personal/organization data repositories on Zenodo servers.

Zenodo offers a brief tutorial on how to create a token from your account. We will repeat it here for the sake of completeness:

Attention

All API requests must be authenticated and submitted over HTTPS. Any request transferred over plain HTTP will fail. Zenodo supports authentication via OAuth 2.0.

Note

In order to create a personal access token:

  1. Register for a Zenodo account if you don’t already have one.

  2. Go to your Applications, to create a new token.

  3. Select the OAuth scopes you need (for the quick start tutorial you need deposit:write and deposit:actions).

Attention

Do not share your personal access token with anyone else and only use it over HTTPS.