This is a simple example of an application that consumes the Mendeley API, using the Python SDK.
For more information on the API, see the developer portal.
The application is a website that allows you to see the documents in your Mendeley library, together with their annotations. It also allows you to look up a document by DOI.
It's built with Flask and Jinja2.
Register your client at the developer portal. Use http://localhost:5000/oauth
as your Redirect URI. This will give you a client ID and secret.
Rename the config.yml.example file to config.yml, and fill in your client ID and secret in this file.
Run the following command to install dependencies:
pip install -r requirements.txt
Start the server:
python mendeley-example.py
Go to http://localhost:5000 in your browser.