jonthegeek / apisniffer

What the Package Does

Home Page:https://jonthegeek.github.io/apisniffer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

apisniffer

Lifecycle: experimental CRAN status Codecov test coverage R-CMD-check

When you load a web page, it often calls APIs to populate the page with data. If you know what you’re looking for, you can use Chrome Devtools to find these API calls. This package aims to automate that process.

This package is extremely experimental. The data returned by the main sniff() function will definitely change in upcoming versions (to be more useful and user-friendly). You also can’t currently interact with the page, which in a lot of cases means you can’t actually trigger the API calls of interest. But it’s a start!

Installation

Install the released version of apisniffer from CRAN:

install.packages("apisniffer")

Install the development version of apisniffer from GitHub:

# install.packages("pak")
pak::pak("jonthegeek/apisniffer")

Usage

The single exported function is sniff().

api_information <- sniff("https://proton.me/mail/pricing")

Code of Conduct

Please note that the apisniffer project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

About

What the Package Does

https://jonthegeek.github.io/apisniffer/

License:Other


Languages

Language:R 100.0%