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 | ✅ | ✅ | ||||
| Messages | ✅ | ✅ | ✅ | ✅ | ||
| Comments | ✅ | ✅ | ✅ | ✅ | ✅ | |
| Attachments | ✅ | ✅ | ✅ | ✅ |
This is a basic example which shows you how to solve a common problem:
library(basecamper)Set up the TOKEN and HOST
You can find your TOKEN by logging into Basecamp
My info found in the top right corner of the websiteAuthentication tokens, click on Show your tokens
Token for feed readers or the Basecamp API, this goes into the BASECAMP_TOKEN environment variable.Sys.setenv(BASECAMP_TOKEN = 'MYTOKEN')
Sys.setenv(BASECAMP_HOST = 'https://metrumresearchgroup.basecamphq.com')Lets just check that the token and host are set right and get back your account info
basecamper::whoami()
#> Yoni Sidi
#> User Name: yonis@metrumrg.com
#> User ID: 12149241