Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yonicd/basecamper
Interact with basecamp api in R
https://github.com/yonicd/basecamper
basecamp r
Last synced: about 1 month ago
JSON representation
Interact with basecamp api in R
- Host: GitHub
- URL: https://github.com/yonicd/basecamper
- Owner: yonicd
- License: other
- Created: 2020-05-21T10:33:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-21T14:45:09.000Z (over 4 years ago)
- Last Synced: 2024-08-13T07:14:59.249Z (3 months ago)
- Topics: basecamp, r
- Language: R
- Homepage: https://yonicd.github.io/basecamper/
- Size: 99.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - yonicd/basecamper - Interact with basecamp api in R (R)
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%",
eval = FALSE
)
```# basecamper
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
The goal of basecamper is to work with Basecamp Classic API to interact with Basecamp directly from R.
What you can do with this package:
|Scope|Query|Post|Edit|Delete|Download|Vignette|
|:--:|:--:|:--:|:--:|:--:|:--:|:--:|
|Projects|`r emo::ji('check')`|||||`r emo::ji('check')`|
|Messages|`r emo::ji('check')`|`r emo::ji('check')`|`r emo::ji('check')`|`r emo::ji('check')`||
|Comments|`r emo::ji('check')`|`r emo::ji('check')`|`r emo::ji('check')`|`r emo::ji('check')`||`r emo::ji('check')`|
|Attachments|`r emo::ji('check')`|`r emo::ji('check')`|||`r emo::ji('check')`|`r emo::ji('check')`|
## InstallationTo use this package clone the repository and install locally
## Example
This is a basic example which shows you how to solve a common problem:
```{r example}
library(basecamper)
```Set up the TOKEN and HOST
You can find your TOKEN by logging into Basecamp
- Click on `My info` found in the top right corner of the website
- At the bottom of this page you will see `Authentication tokens`, click on `Show your tokens`
- Copy the `Token for feed readers or the Basecamp API`, this goes into the `BASECAMP_TOKEN` environment variable.```{r,eval=FALSE}
Sys.setenv(BASECAMP_TOKEN = 'MYTOKEN')
Sys.setenv(BASECAMP_HOST = 'https://mycompany.basecamphq.com')
```### Whoami
Checking that the token and host are set right and get back your account info with the `whoami` function
```{r}
basecamper::whoami()
```