knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

blocklist : Tools to Work with the 'API'

The following functions are implemented: - get_last_added_ips : Query API for IPs blocked in since a period in time, optionally filtering by service

News

Installation

devtools::install_github("hrbrmstr/blocklist")
options(width=120)

Usage

library(blocklist)

# current verison
packageVersion("blocklist")

# defaults
get_last_added_ips()

# last half hour
get_last_added_ips(1800)

# since 10PM today
#get_last_added_ips("22:00")

# for ssh blocks in the last half hour
get_last_added_ips(1800, "ssh")

Test Results

library(blocklist)
library(testthat)

date()

test_dir("tests/")

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.



hrbrmstr/blocklist documentation built on May 17, 2019, 4:55 p.m.