GithubHelp home page GithubHelp logo

zotero-lib's Introduction

zotero-lib

Introduction: Tools for working with the APIs of Zotero and Zenodo (zotzen)

This repository is part of a set of repositories, see here: https://github.com/orgs/OpenDevEd/teams/zotzen-team/repositories. Currently, this set contains a number of libraries

(The above tools can also be installed as command-line tools (CLI) with npm -g.)

And a web application

zotero-lib

Install this library with

npm install zotero-lib

or as CLI

sudo npm install -g zotero-lib

View entry on https://www.npmjs.com/package/zotero-lib

Used by

This library is currently used by

This code builds on earlier code for https://github.com/OpenDevEd/zotero-cli, which was developed by @bjohas, @retorquere and @a1diablo.

Use of the library and the CLI

The directory tests/ contains a number of tests that illustrate the use of the npm library. The file tests/test_cli.sh has examples for use of the library from the command line.

Also see:

https://github.com/tnajdek/zotero-api-client (With hindsight we might have built on zotero-api-client - we might still rebuild our code to use zotero-api-client.)

CLI Documentation:

The zotero-cli allows you to access zoter from cmd line, it allows you to automate redundant taskse easily

Installation

npm install -g zotero-lib

OR

yarn global add zotero-lib

Basic usage

Help

zotero-lib -h

OR

zotero-lib --help

This will print help for all commands and options accepted by zotero-lib

Version

zotero-lib -v

OR

zotero-lib --version

This will print the version of cli you have installed

Item

Items

Create

This allows you to create item(s). You can create items in two different ways by providing following arguments

  • --files - this accepts text files containing json
  • --items - this accepts items as json string

for example

zotero-lib create items --files filepath.txt
zotero-lib create items --items '{"title": "zotero item"}'

Update

Collection

Collections

Publications

Tags

Attachment

Types

Groups

Fields

Searches

Key

Field

Update-url

Get-doi

Update-doi

Enclose-item

Attach-link

Attach-note

Kciaka

Bibliography

zotero-lib's People

Contributors

bjohas avatar arfanliaqat avatar zainasaadeddin avatar reyamme avatar

Stargazers

Roman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.