Skip to content

A Python wrapper for the bioRxiv API.

License

Notifications You must be signed in to change notification settings

jacquerie/biorxiv-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bioRxiv-CLI

https://travis-ci.org/jacquerie/biorxiv-cli.svg?branch=master https://coveralls.io/repos/github/jacquerie/biorxiv-cli/badge.svg?branch=master

About

A Python wrapper for the bioRxiv API.

Install

$ pip install biorxiv-cli

Usage

You can use bioRxiv-CLI as a CLI to navigate bioRxiv or as a library to query its API.

CLI

Currently bioRxiv-CLI implements one subcommand:

$ biorxiv read SUBJECTS

This will print the titles of the 30 most recent posts in one of the comma-separated subjects. For example:

https://raw.githubusercontent.com/jacquerie/biorxiv-cli/master/images/biorxiv-cli-screen.png

If no subjects were given, it will assume by default that all subjects were selected.

API

The previous CLI is built on top of a Python library that can be used on its own to query bioRxiv's API. For example:

>>> from biorxiv_cli import Client
>>> client = Client()
>>> client.read([SUBJECTS])

will achieve the same effect as

$ biorxiv read SUBJECTS

Author

Jacopo Notarstefano (@Jaconotar)

License

MIT

About

A Python wrapper for the bioRxiv API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published