api_amazon: REST API for the Books/Products of Amazon Website

View source: R/api_amazon.R

api_amazonR Documentation

REST API for the Books/Products of Amazon Website

Description

Using the Faker API (https://fakerapi.it/en), this API generates fake but reasonably structured data representing books and products from an internal 'Amazon API'. This API serves as educational purposes only.

Usage

api_amazon(port = NULL)

Arguments

port

a numeric value used as a port

Details

This function launches a plumber API in a new R process using 'callr' and return the 'callr' process.

Value

callr result of the individual R process

Author(s)

Jorge Cimentada

Examples


## Not run: 
  live_api <- api_amazon()
  live_api$kill()

## End(Not run)


cimentadaj/scrapex documentation built on Jan. 5, 2023, 9:49 p.m.