Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.

Minimal example showing how to authenticate using oAuth 1.0a and read from user's library using Zotero API

License

Notifications You must be signed in to change notification settings

tnajdek/zotero-oauth-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zotero OAuth Client Example

This is a minimal example showing how to authenticate using oAuth 1.0a and read from user's library using Zotero API. This example uses oauth-1.0a to talk to oAuth endpoint and zotero-api-client to talk to Zotero API. Check relevant project pages for documentation & support.

How to use this example

  1. Navigate to https://www.zotero.org/oauth/apps and create a new App

  2. Clone this example and change dir:

     git clone https://github.com/tnajdek/zotero-api-client/
     cd zotero-oauth-example/
    
  3. Copy Client Key and Client Secret and populate ZOTERO_APP_CLIENT_KEY and ZOTERO_APP_CLIENT_SECRET in index.js respectively

  4. Install dependencies:

     npm install
    
  5. Run the example

     npm start
    

About

Minimal example showing how to authenticate using oAuth 1.0a and read from user's library using Zotero API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published