/refme-api-ris-import-demo

Example sinatra app using oauth + our public endpoint to import RIS files

Primary LanguageRuby

RefME Public API RIS file import demo

Instructions

  1. Clone repository
  2. Run bundle install
  3. Change the OAUTH2_CLIENT_ID, OAUTH2_CLIENT_SECRET and OAUTH2_API_BASE_URL to match the values we've given you after registering your application with us.
  4. Run rackup config.ru
  5. Log in, select a RIS file (example included in this repo), click import.

If the file is valid, then references will appear in the "Imported from AppName" project in refme.com