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!
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.