Mendeley / mendeley-python-sdk

Python SDK for the Mendeley API.
Apache License 2.0
119 stars 59 forks source link

Constraining a general query by a year range #6

Closed andredozier closed 9 years ago

andredozier commented 9 years ago

In mendeley\resources\catalog.py, there are a few oddities I found:

  1. advanced_search() is implemented without a general "query" parameter, so you can't perform general queries in addition filtering by title, author, source, etc.
  2. search() does not have the ability to constrain by min_year and max_year... I got around this by adding a "query" parameter to advanced_search and calling that with: advanced_search(query="something", min_year=1970, max_year=1975)
  3. a backend issue, the REST service does not take both query and title, source, etc. which would be useful when filtering query results (see my other issue)