Mendeley/mendeley-python-sdk

Are there plans to implement all resources here?

Closed this issue · 5 comments

Hi,
Firstly, thank you very much for this. Currently I guess this supports only a few of the resources offered in the newly available API. Thanks!

Thanks for your feedback! The SDK supports the most commonly used resources in Mendeley, but not all of them.

If there are any missing resources or methods that you're particularly interested in, please let us know and we can feed that input into our prioritization.

From OAPI we use document_details, library, download_file and folders. It would be great if we could get access to those resources with the new SDK for the new API.

Most of those are available through the SDK:

  • document_details corresponds to the catalog resource.
  • library corresponds to the documents resource.
  • files can be downloaded using the files resource (which can also be accessed from the files attribute on a document).

We don't yet have folders - I'll create a separate issue for that, to keep the discussion focussed.

These endpoints do not provide the same data as the OAPI endpoints did. How do you use catalog? I have results from documents showing document_id but when I use that for catalog.get() i get document not found.

if files.iter() returns a file with id, shouldn't I be able to use that with files.get()?

it results in

AttributeError: 'super' object has no attribute 'get'