Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hrbrmstr/bacharach

πŸ’§ Tools to Work with the Raindrop API
https://github.com/hrbrmstr/bacharach

r raindrop rstats

Last synced: 23 days ago
JSON representation

πŸ’§ Tools to Work with the Raindrop API

Awesome Lists containing this project

README

        

[![Project Status: Active – The project has reached a stable, usable
state and is being actively
developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![Signed
by](https://img.shields.io/badge/Keybase-Verified-brightgreen.svg)](https://keybase.io/hrbrmstr)
![Signed commit
%](https://img.shields.io/badge/Signed_Commits-25%25-lightgrey.svg)

![Minimal R
Version](https://img.shields.io/badge/R%3E%3D-3.2.0-blue.svg)
![License](https://img.shields.io/badge/License-MIT-blue.svg)

# bacharach

Tools to Work with the Raindrop API

## Description

Raindrop provides a URL bookmarking service and an
API for working with that service and more. Tools are provided to work
with the Raindrop API. A Raindrop API key (free) is required.

## What’s Inside The Tin

The following functions are implemented:

- `get_collection`: Get a collection
- `get_raindrop_permacopy`: Get a single raindrop permacopy from the
cache (Pro feature)
- `get_raindrop`: Get a single raindrop
- `get_raindrops`: Get all raindrops from a collection (TODO pagination)
- `get_user`: Get currently authenticated user details
- `raindrop_api_token`: Get or set RAINDROP_API_TOKEN value
- `raindrop_parse_url`: Parse and extract useful info from any URL

NOTE: This is a woefully incomplete wrapper (so far). You are def
encouraged to contribute if you use Raindrop and the package will be a
full wrapper. This skeleton was made to remind myself to make this
package and have something to hack on during long-running Athena queries
or tedious conference calls.

## Installation

``` r
remotes::install_github("hrbrmstr/bacharach")
```

NOTE: To use the β€˜remotes’ install options you will need to have the
[{remotes} package](https://github.com/r-lib/remotes) installed.

## Usage

``` r
library(bacharach)

# current version
packageVersion("bacharach")
## [1] '0.1.1'
```

## bacharach Metrics

| Lang | \# Files | (%) | LoC | (%) | Blank lines | (%) | \# Lines | (%) |
|:-----|---------:|-----:|----:|-----:|------------:|-----:|---------:|-----:|
| HTML | 1 | 0.06 | 500 | 0.37 | 19 | 0.08 | 1 | 0.01 |
| R | 8 | 0.44 | 173 | 0.13 | 95 | 0.42 | 60 | 0.49 |
| SUM | 9 | 0.50 | 673 | 0.50 | 114 | 0.50 | 61 | 0.50 |

{cloc} πŸ“¦ metrics for bacharach

## Code of Conduct

Please note that this project is released with a Contributor Code of
Conduct. By participating in this project you agree to abide by its
terms.