Mendeley / openoffice-plugin

38 stars 16 forks source link

Cannot get tags from documents #50

Open RdB777 opened 4 years ago

RdB777 commented 4 years ago

Hi, Let me start by saying that I am new and not very experienced in Mendeley or API or Python. However, I try to build a simple Python application to do advanced queries and export to Excel on a large Mendeley database we have. I am not a very experienced Python programmer, but after spending some time investing and trying, I got some simple code working (see code in screenshot attached). However, when I try to print the tags of a document, it does not work; it seems that doc.tags does not exist. Can someone please help me how I can read the tags of a documents? (According to the documentation on https://dev.mendeley.com/methods/#additional-document-attributes, Tags is one of the additional document attributes, that should be available when using the ‘tags’ or ‘all’ view). What am I doing wrong?

Many thanks in advance!

Pyton_Mendeley_Code