This is a simple Python application that uses the Mendeley API.
-
Register your client at the developer portal. Use
dummy
as your redirect URI. This will give you a client ID and secret. -
Click on the button below to deploy the app to Heroku. You will need to fill in the client ID and secret from the previous step.
-
Back at the developer portal, change your app's redirect URI to the Heroku HTTPS URL with
/oauth
on the end. For example, if your Heroku app's name is:secure-citadel-6801
then your redirect URI should be:
https://secure-citadel-6801.herokuapp.com/oauth
Your app should now be deployed. You can now follow the instructions in the Heroku console to clone and edit the code.
- Clone the app using the instructions on the "Code" tab in the Heroku console.
- Register another client ID and secret, with the redirect URL
http://localhost:5000/oauth
. - Run
foreman start
to start the app, and go tohttp://localhost:5000
in your browser.
- SDK documentation: http://mendeley-python.readthedocs.org
- Developer portal: http://dev.mendeley.com
- Flask: http://flask.pocoo.org/
- Heroku: https://devcenter.heroku.com/