Closed cboettig closed 10 years ago
See http://blog.shazino.com/articles/dev/mendeley-api-in-ruby/ for some convient examples of how to handle authenticated calls.
Okay, tried two different approaches, including the one above, and I'm stuck. See my SO question for details.
http://stackoverflow.com/questions/15887366/ruby-obtain-oauth-token-from-mendeley-api
Mostly implemented. Only way to get most recent pubs in a folder is to download each article with a unique API call, and then sort / subset by date published. Kinda ridiculous. Should be fixed in a few months with v2.0 of the API... See https://github.com/cboettig/labnotebook/blob/mendeley-plugin/_plugins/jekyll-labnotebook-plugins/mendeley.rb (mendeley.rb on mendeley-plugin branch)
Done, though need to migrate a few feeds away from the rss solution (see #106 ) Downside that the rss based approach obviously had more modular public utility / motivated me to maintain public groups.
The mendeley plugin would be much better if based off the API instead of public group RSS feeds. In particular, it would let me draw the reading list from the private folders or tags, rather than the more coarse-grained public groups.
Unfortunately, it doesn't seem like there is a decent Mendeley gem on Github, at any rate.
https://github.com/rweald/mendeley hasn't been updated in years and has no private methods.