https://github.com/jumpingrivers/uprobot
Simple wrapper around the uptime robot API
https://github.com/jumpingrivers/uprobot
r r-package rstats uprobot
Last synced: 12 days ago
JSON representation
Simple wrapper around the uptime robot API
- Host: GitHub
- URL: https://github.com/jumpingrivers/uprobot
- Owner: jumpingrivers
- Created: 2020-11-03T10:07:34.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-05-04T11:26:58.000Z (about 4 years ago)
- Last Synced: 2025-03-05T10:19:08.404Z (over 1 year ago)
- Topics: r, r-package, rstats, uprobot
- Language: R
- Homepage: https://jumpingrivers.github.io/uprobot/
- Size: 317 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
Awesome Lists containing this project
README
# Uptime Robot
[](https://github.com/jumpingrivers/uprobot/actions)
Grab data from uptime robot via it's [API](https://uptimerobot.com/api).
* This package does not include all features of the API
* The functions it does have, are missing arguments
To get a key
* log on to uptime robot
* My settings
* API Settings. I recommend monitor specific API keys to avoid mistakes
## Usage
Install the package in the usual way
```
remotes::install_github("jumpingrivers/uprobot")
library("uprobot")
```
To use the the package, you need an upRobot account and API key (see below).
You can either pass the API key explicity, or set is as an environmental
variable `UPTIME_ROBOT_TOKEN` in your `.Renviron`
```
mon = get_monitors(api_key = "XXX", logs = TRUE)
mon$logs
# If set in your .Renviron
# get_monitors(logs = TRUE)
```