i-librarian-free icon indicating copy to clipboard operation
i-librarian-free copied to clipboard

Add API with Token for queries

Open Babalion opened this issue 2 years ago • 0 comments

Goal

I would like to add all of my personal references to my webpage automatically.

At the moment I do it like this:

  1. Perform a search of papers which belong to me in I Librarian
  2. export the result to a .bib file
  3. Copy the file to my webserver

What I have tried

The search can be performed with the same URL again, if one is logged in.

If I try to pull the url via wget from my webserver, the problem is i can't use a simple POST request with cookie to log in due to the needed CSRF Token...

Feature request

Could you please add an authentication token which one could append to the query URL, so it would be easy to pull a .bib file via wget.

This is the easiest way to create an API.

Babalion avatar Mar 23 '22 17:03 Babalion